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/creating.md |
| Edit existing document | Unpack → edit XML → repack — see references/editing.md |
| Raw XML (tracked changes, comments, images) | See references/xml.md |
Converting .doc to .docx
Legacy .doc files must be converted before editing: