word-document
Installation
SKILL.md
Word Document Skill
When someone needs an actual .docx — a report, proposal, contract, or formal letter they'll edit in
Word — markdown won't do. This skill produces a real Word file by writing and running a python-docx
script: proper heading styles (so the navigation pane and a TOC work), clean body text, tables, and
page structure — a document that looks authored, not exported.
Environment: produces a binary file, so it needs code execution — Claude Code, the API code-execution tool, or Claude.ai. In the browser playground, the existing Word/PDF export turns any skill's markdown into a document; this skill is for a built-to-spec
.docx.
Required Inputs
Ask for these only if they aren't already provided:
- Document type — report, proposal, contract, SOP, letter, whitepaper — and its purpose/audience.
- The content — the material (or a brief to expand), and the required sections/structure.
- Formatting needs — headings/TOC, tables, numbered clauses (contracts), a cover page, letterhead/brand.
- Length & tone.