Word / DOCX
Create, inspect, and edit Microsoft Word (.docx) documents reliably using OOXML-aware workflows—preserving styles, numbering, track changes, and advanced layout for round-trip compatibility.
Overview
The Word / DOCX skill gives your AI agent deep, structure-preserving control over Microsoft Word documents. Treating .docx as OOXML (a ZIP of XML parts), it goes beyond simple text extraction to handle styles, numbering definitions, tracked changes, comments, fields, sections, tables, and headers. This skill ensures documents survive round-trip editing without formatting drift, making it essential for professional and compliance-heavy document tasks.
Key Features
- OOXML-Aware Editing – Directly manipulates XML parts (document.xml, styles.xml, numbering.xml) for precise, stable edits.
- Style & Formatting Preservation – Prefers named styles, extends existing style systems, and avoids layering incompatible direct formatting.
- Numbering & List Integrity – Manages abstract numbering definitions, list restart behavior, and indentation to prevent broken lists across editors.
- Section & Layout Control – Handles per-section margins, orientation, headers/footers, page numbering, and fixed-width tables.
- Track Changes & Comments – Preserves revision metadata, comment anchors, and review ranges during edits; avoids orphaning markup.
How It Works
The skill uses different workflows based on the task: a structural extraction path for reading/reviewing, a style-driven generation path for new documents, and an OOXML-aware editing path for fragile existing files. It inspects the package layout rather than relying only on rendered output, ensuring that tracked changes, fields, and comments remain intact. For legacy .doc inputs, it recommends conversion before applying modern .docx assumptions.
Use Cases
- Editing a legal document with tracked changes and comments—ensuring no annotations are lost during revision.
- Generating a formatted report from template data, with consistent heading styles, auto-numbered lists, and page headers.
- Fixing numbering and indentation in a multi-section proposal that becomes misaligned after collaborative editing.
Reviews
No reviews yet.