What problem does it solve? Working with .docx files programmatically is error-prone: raw XML manipulation, broken field codes, missing page numbers, and placeholder tokens leaking into finished documents. This Skill provides a disciplined, help-first workflow for building, reading, and editing Word documents through the officecli CLI, with built-in QA gates that catch formatting and content problems before delivery. ## Core Features & Use Cases - Document creation and editing: Build reports, letters, memos, and proposals with proper heading hierarchy, styles, tables, lists, images, charts, hyperlinks, and tab stops using semantic paths like /body/p[1]. - Reading and analysis: Inspect existing documents with outline, text, HTML, and stats views, plus CSS-like queries to find empty paragraphs, missing alt text, or specific styles. - Fields, TOC, headers and footers: Insert live PAGE, NUMPAGES, MERGEFIELD, and TOC fields, with explicit guidance on recalculation and a static TOC fallback for viewers that do not refresh fields. - Use Case: Generate a quarterly business review with a cover page, table of contents, styled financial tables with zebra striping, and a Page X of Y footer, then validate the result and verify the rendered HTML before handing it off. ## Quick Start Ask the AI to create a Word document named review.docx with a heading, body paragraphs, and a centered page-number footer using the officecli docx skill.