What problem does it solve?
Word document generation and editing typically requires juggling XML, tracked changes, and conversion steps that break if a detail is missed, so this skill gathers the docx-js creation notes, unpack/edit/pack sequence, and LibreOffice helpers to keep formatting intact while steering away from PDFs, spreadsheets, or Google Docs.
Core Features & Use Cases
- Structured Document Production: Follow the docx-js examples to set explicit page sizes, override built-in heading styles, configure tables with dual widths, insert compliant images, and avoid unicode bullets or stray page breaks.
- Safe Editing & Redlining: Use the unpack, simplify, merge, comment, and pack scripts to edit XML, manage tracked changes and comments attributed to Claude, and accept or reject revisions without corrupting the archive.
- Validation & Conversion Tools: Run the validate, accept_changes, and pack utilities plus LibreOffice wrappers when converting legacy DOCs, generating PDFs, or keeping table-of-contents and footer/numbering guarantees, particularly for reports, memos, and templates destined for professional audiences.
Quick Start
Request a US Letter memo built with docx-js guidance, clean tracked change handling, dual-width tables, and LibreOffice conversion validation.