What problem does it solve? Working with Word documents programmatically is error-prone: docx-js has layout footguns, Word fragments text across XML runs making find-and-replace unreliable, and tracked changes or comments require many cross-linked files. This Skill provides tested workflows and scripts to create, edit, read, and validate .docx, .doc, and .dotx files correctly. ## Core Features & Use Cases - Document Creation: Generate polished Word documents with the docx npm library, avoiding common pitfalls like wrong page sizes, broken table widths, and invalid list formatting. - Surgical Editing: Unzip a .docx, merge fragmented runs, edit word/document.xml directly, rezip, and validate against XSD schemas with optional auto-repair. - Redlining & Comments: Insert tracked changes with proper <w:ins>/<w:del> markup, verify every edit is tracked, accept all changes via LibreOffice, and add threaded comments with all six required satellite files. - Use Case: A user needs to redline a contract: convert it, merge runs, wrap edits in tracked-change elements, validate with --author to confirm nothing was changed untracked, and render a PDF to visually inspect the result. ## Quick Start Use the docx skill to create a professional Word report with a table of contents and headings, then render it to PDF for visual verification.