What problem does it solve? Working with Word documents programmatically is error-prone: docx-js defaults to A4 page size, tables render incorrectly without dual widths, tracked changes require precise XML structure, and unicode bullets break list formatting. This Skill provides tested patterns and scripts to create, read, and edit .docx files correctly the first time. ## Core Features & Use Cases - Document Creation: Generate professional .docx files with docx-js, including tables of contents, headers/footers, footnotes, hyperlinks, multi-column layouts, and properly configured tables and lists. - Document Editing: Unpack .docx files to XML, perform find-and-replace, insert tracked changes and comments with proper schema compliance, then repack with validation and auto-repair. - Content Extraction & Conversion: Extract text with pandoc (including tracked changes), convert legacy .doc files, and render documents to PDF or images via LibreOffice. - Use Case: A user asks for a quarterly report as a Word file with a table of contents, styled headings, a data table, and page numbers. The Skill generates the document with docx-js using correct page dimensions and validates the output. ## Quick Start Create a Word document report with a title page, table of contents, and a formatted data table, then validate the output file.