What problem does it solve? Working with Microsoft Word documents programmatically is error-prone: text gets fragmented across runs, tracked changes and comments live in raw XML, and templates with placeholders break easily. This Skill provides tested CLI scripts that handle creation, reading, editing, templating, revision resolution, comment management, and package health checks for .docx files. ## Core Features & Use Cases - Document Creation & Templating: Build .docx files from a JSON spec (headings, tables, images, styles, TOC, page numbers) or fill {{token}} placeholders in existing templates from JSON data. - Editing & Review: Find-and-replace with formatting preserved, insert/delete/style paragraphs, set table cells, list and accept/reject tracked changes, and add or delete anchored comments. - Inspection & Validation: Extract full text, heading outlines, styles, and embedded images; detect revisions; and health-check the package for corrupt parts, dangling relationships, or missing styles. - Use Case: You receive a contract template with {{client_name}} and {{date}} placeholders plus reviewer tracked changes. Fill the tokens with docx_template.py, accept all revisions with docx_revisions.py, then verify the result with docx_validate.py. ## Quick Start Ask the AI to create a Word report from a JSON spec or to fill placeholders in your .docx template using the docx skill's scripts.