What problem does it solve?
Working with Microsoft Word documents (.docx) programmatically requires handling complex OOXML structures, making document automation difficult and error-prone. This Skill abstracts away the XML complexity, enabling reliable creation, editing, and analysis of professional documents.
Core Features & Use Cases
- Document Creation: Generate new Word documents from scratch using JavaScript with full control over styles, tables, images, and formatting.
- Redlining & Tracked Changes: Apply and manage tracked changes (insertions and deletions) for document review workflows, including support for nested changes and comment threading.
- Text Extraction & Analysis: Extract clean text via pandoc or inspect raw XML for deep analysis of comments, formatting, and embedded media.
- Use Case: A legal team can automatically apply revisions to a contract, add explanatory comments, and produce a clean reviewed document for client delivery.
Quick Start
Use the docx skill to create a new Word document titled "Project Proposal" with a centered title, three paragraphs of body text, and a two-column table listing key milestones.