What problem does it solve?
Many users need to produce, modify, or repair professional Microsoft Word documents but struggle with the DOCX ZIP/XML format, tracked changes, images, tables, and cross-platform rendering problems. This Skill centralizes best practices and tooling to create polished .docx outputs, safely edit existing documents (including tracked changes and comments), and validate or repair Office XML so documents remain compatible across Word, LibreOffice, and cloud editors.
Core Features & Use Cases
- Create polished DOCX: Generate new Word documents with explicit page sizes, styles, TOC, headers/footers, multi-column layouts, and correct table/ image handling using docx-js guidance.
- Edit existing DOCX: Unpack DOCX archives, safely edit word XML (preserve runs, smart quotes, styles), manage tracked changes and comments, then repack and validate.
- Validation & Repair: Run XSD and redlining validations, auto-repair common issues (durableId/paraId limits, xml:space preservation), and optionally accept tracked changes via LibreOffice macros.
- Use Case Examples: Convert legacy .doc to .docx, insert/replace images and alt text, perform find-and-replace while preserving tracked changes, merge adjacent runs for cleaner XML, or generate a final deliverable with an accepted-changes clean output.
Quick Start
Use the docx skill to unpack a document, apply edits (comments, image insertion, or content replacement), validate and repack into a clean, schema-compliant DOCX file.