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 edits produce corrupt files. This Skill provides a complete workflow for creating professional Word documents from scratch and safely editing existing ones, including tracked changes, comments, tables, images, and table of contents. ## Core Features & Use Cases - New Document Creation: Generate .docx files with the docx-js library, including styled headings, bullet/numbered lists, tables with correct DXA widths, images, headers, footers, page numbers, and tables of contents. - Existing Document Editing: Unpack the .docx ZIP, edit the XML directly (tracked insertions/deletions, comments with replies, image insertion), then repack with automatic validation and repair. - Document Analysis & Conversion: Extract text with pandoc, convert legacy .doc to .docx, accept all tracked changes via LibreOffice, and render pages to images. - Use Case: A user asks for a contract review. The Skill unpacks the .docx, adds tracked changes and comments as redlines, validates the XML against OOXML schemas, and repacks a clean, non-corrupt document. ## Quick Start Ask the assistant to create a professional Word report with a title page, table of contents, and formatted tables, or to add tracked changes and comments to an existing .docx file.