docx
Installation
SKILL.md
DOCX creation, editing, and analysis
Overview
A .docx file is a ZIP archive containing XML files.
Quick Reference
| Task | Approach |
|---|---|
| Read/analyze content | pandoc or unpack for raw XML |
| Create new document | Use docx-js — see references/docx-js-patterns.md |
| Edit existing document | Unpack → edit XML → repack — see Editing below |
Converting .doc to .docx
uv run python scripts/office/soffice.py --headless --convert-to docx document.doc