What problem does it solve?
Enables reliable creation, inspection, editing, and validation of Microsoft Word .docx files without manual XML gymnastics or broken formatting. It removes fragile toolchain steps by providing unpack/pack, validation, tracked-changes handling, comment automation, image and table rules, and LibreOffice-based operations to accept changes or convert legacy formats.
Core Features & Use Cases
- Read & Analyze: Unpack DOCX ZIP/XML, extract text, images, and tracked-change structures for review or migration.
- Create New Documents: Author production-ready .docx via docx-js guidance (page sizes, styles, TOC, lists, tables, images).
- Edit Existing Documents: Safe unpack → targeted XML edits → repack flow with helpers for merging runs, simplifying redlines, and preserving whitespace.
- Tracked Changes & Comments: Add, reply, accept, or validate tracked changes and comments programmatically, using "Claude" as the default author unless otherwise requested.
- Validation & Repair: XSD schema validators, relationship/content-type checks, durableId/paraId auto-repair, and packing tools to ensure documents are not corrupt.
- Use Case: Convert a draft with tracked changes into a clean, validated company-branded report with a table of contents and embedded images.
Quick Start
Ask the agent: Convert my draft document into a validated Word (.docx) report with Heading 1/2 styles, a table of contents, accepted tracked changes, and embedded images.