What problem does it solve? Working with Word documents programmatically is error-prone: OOXML is verbose, tracked changes require precise XML structure, and naive edits corrupt files. This Skill provides tested workflows and a Python library for creating, editing, redlining, and analyzing .docx files without breaking document integrity. ## Core Features & Use Cases - Document Creation: Generate professional Word documents from scratch using docx-js with styles, tables, images, lists, headers, and table of contents. - Tracked Changes & Redlining: Implement precise insertions, deletions, and comments using the Python Document library, with automatic RSID handling and validation — ideal for legal contract review. - Reading & Conversion: Extract text via pandoc, unpack raw OOXML for deep inspection, and convert documents to PDF or images for visual analysis. - Use Case: A lawyer asks you to change payment terms in a contract. The Skill unpacks the .docx, applies minimal tracked changes in batches with proper <w:ins>/<w:del> tags, repacks the file, and verifies every edit via pandoc conversion. ## Quick Start Ask the assistant to create a Word document from your outline, or provide a .docx file and request tracked changes to specific sections.