What problem does it solve? Working with .docx files programmatically is error-prone: raw XML manipulation, broken field codes, missing page numbers, and inconsistent formatting. This Skill provides a complete, verified workflow for building, reading, and editing Word documents through the officecli CLI, with strict output-quality rules so every document ships with proper heading hierarchy, live page-number fields, tables of contents, and clean typography. ## Core Features & Use Cases - Document creation and editing: Add paragraphs, runs, tables, lists, images, hyperlinks, tab stops, headers/footers, and sections using semantic paths like /body/p[1]. - Reading and analysis: Inspect documents with outline, text, stats, and issues views, plus CSS-like queries (e.g. paragraph[style=Heading1]) for systematic checks. - Live fields and TOC: Insert PAGE, NUMPAGES, DATE, MERGEFIELD, and TOC fields correctly, with guidance on cached-value pitfalls and static TOC fallbacks. - Use Case: Generate a quarterly business review .docx with a styled cover page, heading hierarchy, a formatted data table, a live table of contents, and a "Page X of Y" footer, then validate it before delivery. ## Quick Start Ask the AI to create a Word report named review.docx with a title heading, body paragraphs, a table of contents, and a centered page-number footer using the officecli docx skill.