docs-docxlisted
Install: claude install-skill meshcode-ai/skills-docs
# Document (DOCX) Generation
A document is read, searched, and edited by others after you leave. Structure and styles are the product; prose fills them.
## Step 0 — Type decides structure
Report (findings → evidence → recommendations) · proposal (problem → options → recommendation → cost/timeline) · memo (BLUF: bottom line up front, 1 page preferred) · spec/contract draft (numbered clauses, defined terms). Confirm type + audience + length expectation before writing. When the reader is an executive: summary page first, always.
## Structure rules
- Cover (title, author, date, version) → 1-page executive summary → body → appendix. The summary is written LAST but placed first.
- Heading depth ≤ 3 levels; every heading is a claim or a clear topic — "Market shrunk 12%" beats "Market situation".
- Tables carry numbers, prose carries meaning — never dump a table without the sentence that says what it proves. Long tables go to appendix; reference them.
- One idea per paragraph; paragraphs ≤ 5 sentences. Front-load the point (readers skim first sentences).
## Styles are not decoration
Use real Word heading styles — they generate the TOC, navigation pane, and accessibility structure. Body text uses the body style, not manual bolding. Page breaks before major sections; header/footer with title + page numbers. If the org has a template, its styles win.
## Generation route
Markdown source → pandoc with a `reference.docx` template (fastest, best for text-heavy docs) · full layout contr