What problem does it solve?
Working with .docx files programmatically is notoriously difficult due to the complex OOXML specification. This Skill eliminates the need to manually parse ZIP archives, edit XML, and manage document relationships by providing high-level workflows for text extraction, document creation, and tracked changes.
Core Features & Use Cases
- Text Extraction & Analysis: Convert .docx files to markdown using pandoc while preserving tracked changes, or unpack documents to access raw XML for comments, formatting, and embedded media.
- Document Creation: Generate professional .docx files from scratch using docx-js with proper styling, tables, lists, and page layout.
- Tracked Changes & Redlining: Implement comprehensive document review workflows with tracked changes, comments, and formatting preservation using the Document library for Python.
- Use Case: A legal team needs to review a contract, mark up revisions with tracked changes, add comments, and export a clean version. This Skill handles the entire OOXML manipulation pipeline.
Quick Start
Use the docx skill to extract all text from the attached file 'contract.docx' and convert it to markdown for review.