What problem does it solve?
This Skill solves the problem of producing and modifying professional .docx (Word) documents reliably, including correct layout elements and accurate formatting, without manual, error-prone Office UI work.
Core Features & Use Cases
- Generate .docx documents: Build new Word documents with consistent page setup (US Letter/A4), styles, lists, tables, page breaks, headers/footers, hyperlinks, footnotes, and multi-column layouts using docx-js.
- Edit existing .docx documents: Unpack DOCX to XML, perform targeted XML edits (including tracked changes and comments), then repack into a valid, Word-compatible file.
- Validate and repair: Validate unpacked Word XML against Office schema/XSD rules and apply common repairs (e.g., whitespace preservation and durableId constraints) to reduce corruption risk.
- Use case: Turn a research report draft into a publication-ready Word memo with a styled table of contents, correctly sized tables, embedded images, and footnotes for citations.
Quick Start
Use the docx skill to create a new Word memo from your provided outline, including headings, a table of contents, and page numbers, then return the generated .docx file.