What problem does it solve? Working with Word documents programmatically is error-prone: docx-js cannot open existing files, Word fragments text across runs, tracked changes require precise XML markup, and comments span six cross-linked files. This Skill provides tested workflows and scripts to create, edit, redline, comment on, and validate .docx and .dotx files reliably. ## Core Features & Use Cases - Document Creation: Generate new Word documents with the docx npm library, with guidance on page size, tables, lists, images, TOC, and page breaks. - Editing & Redlining: Unzip, edit word/document.xml directly, merge fragmented runs for find-and-replace, and wrap edits in tracked-change markup with validation against the original. - Comments & Cleanup: Add threaded comments via a helper script that writes all satellite XML files, and accept all tracked changes through LibreOffice. - Use Case: A lawyer asks you to redline a contract: unpack the .docx, merge runs, edit the XML with w:ins/w:del wrappers, then validate with --author to confirm every change is tracked. ## Quick Start Use the docx skill to create a professional Word report with a table of contents, headings, and page numbers, then render it to PDF to verify the layout.