What problem does it solve? Working with Word documents programmatically is error-prone: .docx files are ZIP archives of XML with strict schema rules, and common libraries have pitfalls like wrong default page sizes, broken tables, and invalid tracked changes. This Skill provides tested workflows and scripts to create, read, and edit .docx files correctly. ## Core Features & Use Cases - Document Creation: Generate polished Word documents with docx-js, including styles, lists, tables, images, headers/footers, footnotes, hyperlinks, multi-column layouts, and tables of contents. - Document Editing: Unpack existing .docx files, edit the raw XML directly, and repack with validation—supporting tracked changes, comments, and image insertion. - Validation & Repair: Validate documents against OOXML XSD schemas with automatic repair of common issues like invalid IDs and missing whitespace preservation. - Use Case: A user asks for a quarterly report as a Word file with a table of contents, styled headings, and a data table. The Skill generates it with docx-js, validates the output, and delivers a clean .docx. ## Quick Start Create a Word document report with a title page, table of contents, and a formatted data table, then save it as report.docx.