docx
Installation
SKILL.md
DOCX Skill (Local-First)
This skill handles .docx work with a tested local workflow.
Use it when the user needs to create, edit, validate, or inspect Word documents.
1) Route By Intent
Choose one primary path first:
-
Create new document Use C# OpenXML templates through
./scripts/docx. -
Edit existing document Use Python +
lxmlediting APIs fromdocx_lib.editingto preserve structure and formatting. -
Validate existing document Run the script validator flow (
./scripts/docx validate <file.docx>).
Do not mix creation and editing approaches in the same step unless the user explicitly asks.
Related skills