What problem does it solve?
Provides a complete toolkit to create, read, edit, and validate Microsoft Word .docx files without relying solely on GUI tools, removing the manual, error-prone steps of unpacking Office XML, fixing schema issues, handling tracked changes/comments, and reassembling valid documents.
Core Features & Use Cases
- Unpack & Inspect: Extract .docx contents to editable XML and pretty-print files for direct editing.
- Edit & Redline Support: Add or merge tracked changes and comments, preserve formatting and smart quotes, and manage redlines safely.
- Generate & Validate: Produce new .docx using docx-js conventions, enforce table/image/page rules, and validate against OOXML XSDs with auto-repair for common issues.
- Conversion Utilities: Convert legacy .doc and .docx → PDF/images via LibreOffice and Poppler for previews or raster outputs.
- Use Case: Turn a draft Markdown report into a US Letter .docx with Heading styles, a Table of Contents, embedded images, and validated OOXML for corporate distribution.
Quick Start
Create a US Letter Word report with Heading 1 title, a Table of Contents, a two-column section, a full-width table using DXA widths, and embed an image with alt text using the docx skill.