docx
Installation
SKILL.md
DOCX documents
Use three stages as a reasoning framework, not a fixed tool pipeline:
- Understand the request and source materials.
- Build or edit the document using the approach best suited to the task.
- Review the actual result before delivery.
The user's explicit requirements are the primary acceptance criteria. Adapt the depth of inspection, implementation, and review to the task rather than following a universal checklist.
Understand
Determine the audience, purpose, authoritative sources, required content, expected form, and what must remain unchanged. Distinguish factual sources from templates and visual references.
- Preserve source files unless replacement is explicitly requested.
- Do not invent unsupported facts, citations, dates, names, figures, or conclusions.
- When editing, preserve content, structure, and formatting the user did not ask to change.
- Inspect only the material relevant to the requested outcome. For complex sources, use direct Python,
python-docx, ZIP/XML inspection, or the optionalinspectcommand as useful.