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 naive generation produces corrupt files, broken tables, or lost tracked changes. This Skill provides tested workflows for creating new documents, editing existing ones at the XML level, and validating output against OOXML schemas. ## Core Features & Use Cases - New Document Generation: Build .docx files with docx-js including styles, tables, images, headers/footers, table of contents, footnotes, hyperlinks, and multi-column layouts, with explicit page-size and DXA width rules. - Surgical Editing of Existing Documents: Unpack → edit XML → repack workflow supporting tracked changes (insertions/deletions), comments with threaded replies, image insertion, and smart-quote typography. - Validation and Repair: Schema validation against OOXML XSDs, redlining validation, and auto-repair of common issues like invalid durableIds and missing xml:space attributes. - Use Case: A user asks for a quarterly report as a Word file with a table of contents, styled headings, a financial table, and page numbers; the Skill generates it with docx-js and validates the output before delivery. ## Quick Start Ask the assistant to create a Word document report with a title page, table of contents, and a formatted data table, saved as a .docx file.