What problem does it solve?
This Skill removes the complexity of programmatic Word document creation, editing, and repair by operating at the .docx (Office Open XML) package and XML level so users can generate polished documents, apply tracked changes, and fix schema or relationship errors without manual Office UI steps.
Core Features & Use Cases
- Unpack / Pack Workflows: Safely unpack .docx to editable XML, apply deterministic edits, and repack while validating and auto-repairing common issues.
- Tracked Changes & Comments: Insert, reply, accept, or repair tracked changes and comments consistently (includes tools to add comments and manage comment markers).
- Validation & Auto-repair: Run schema validation, fix xml:space and durableId/paraId problems, check relationships and content types, and produce actionable repair logs.
- Document Generation Conventions: Guidance and examples for generating .docx via docx (docx-js) with critical rules for page size, tables, images, TOC, styles, and numbering to ensure cross-platform compatibility.
- Use Case: Convert a draft Markdown report into a validated, corporate-ready .docx with correct styles, images, table widths, and a functioning table of contents, then run validation and auto-repair before delivery.
Quick Start
Ask the assistant to "Unpack my file.docx, accept all tracked changes, apply the provided corporate styles, validate and re-pack to final.docx".