Word Document Workflows
Tech Stack Target / Version: Word desktop or python-docx automation with current OOXML-compatible workflows.
Use this skill when .docx layout and document structure matter, not just the raw text.
- Leverage native parallel subagent dispatch and 200k+ context windows where available.
Current MCP Reality
Microsoft publicly documents a Word MCP server in the Microsoft 365 Agents Toolkit preview, but tool availability still depends on the host. In GitHub Copilot you may see Word-specific tools; in other clients they may be missing. If direct Word MCP access is unavailable, use the included local script workflow.
Activation Conditions
Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
- Creating or editing
.docx reports, memos, or structured deliverables
- Applying headings, tables, images, or styles
- Reviewing or extracting document structure
- Preparing Word output before a later PDF conversion
Practical Workflow
- Confirm whether the client exposes Word MCP capabilities.
- Start with structure: title, headings, sections, tables.
- Apply styling consistently only after the structure is right.
- Validate comments, footnotes, and references before export.
- Use the local generator script when MCP access is unavailable.
MCP Fallback – Native Automation
When MCP is unavailable, use native automation: python-docx for .docx, direct OOXML inspection for unsupported structures, and PDF export checks when layout matters. Preserve styles, tables, headers, footers, comments, tracked-change expectations, and metadata, then reopen or parse the document before claiming success.
Cross-Client Portability
This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
workflow in project instructions when folder discovery is unavailable.
- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
- Codex: install or sync the folder into
$CODEX_HOME/skills/word-document and restart Codex after major changes.
MCP Availability And Fallback
Preferred MCP Server: Word Document MCP
- Fallback prompt: "Use the Word Document Workflows skill without MCP. Follow the documented local or manual fallback, show the selected tool surface, and report the verification evidence."
- Use
python-docx, Word desktop, or document export scripts when the MCP surface is unavailable.
- Re-open or render the document locally so formatting, comments, and pagination are verified before delivery.
- Do not claim an MCP operation was used when the active host does not expose it.
Anti-Patterns
- Writing for the author instead of the reader: It bakes in unstated context and leaves the actual audience unsure what to do next.
- Skipping concrete examples or commands: Abstract guidance is easy to approve and hard to apply correctly.
- Letting links, screenshots, or versions drift: Polished formatting does not help if the instructions are no longer true.
Verification Protocol
Before claiming "skill applied successfully":
- Pass/fail: The Word Document artifact type, target format, and required output fidelity are stated before editing.
- Pass/fail: MCP availability is checked and the native automation fallback path is named when MCP is absent.
- Pass/fail: The produced file or formula is opened, parsed, rendered, or otherwise validated locally.
- Pressure-test scenario: Apply the workflow to a file with formatting, metadata, or conversion edge cases and verify nothing important is lost.
- Success metric: Zero unverified document claims; the artifact itself is the evidence.
Document Checklist
References & Resources
Documentation
Scripts
Examples
Related Skills
1---2name: word-document3description: Word (.docx) manipulation via MCP server. Use for reading, creating, editing, formatting Word documents including tables, footnotes, comments, images, headers, styles, and PDF conversion.4---5# Word Document Workflows
6
7> Tech Stack Target / Version: Word desktop or `python-docx` automation with current OOXML-compatible workflows.
8
9Use this skill when `.docx` layout and document structure matter, not just the raw text.
10
11- Leverage native parallel subagent dispatch and 200k+ context windows where available.
12
13
14## Current MCP Reality
15
16Microsoft publicly documents a Word MCP server in the Microsoft 365 Agents Toolkit preview, but tool availability still depends on the host. In GitHub Copilot you may see Word-specific tools; in other clients they may be missing. If direct Word MCP access is unavailable, use the included local script workflow.
17
18## Activation Conditions
19
20Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
21
22- Creating or editing `.docx` reports, memos, or structured deliverables
23- Applying headings, tables, images, or styles
24- Reviewing or extracting document structure
25- Preparing Word output before a later PDF conversion
26
27## Practical Workflow
28
291. Confirm whether the client exposes Word MCP capabilities.
302. Start with structure: title, headings, sections, tables.
313. Apply styling consistently only after the structure is right.
324. Validate comments, footnotes, and references before export.
335. Use the local generator script when MCP access is unavailable.
34
35## MCP Fallback – Native Automation
36
37When MCP is unavailable, use native automation: `python-docx` for `.docx`, direct OOXML inspection for unsupported structures, and PDF export checks when layout matters. Preserve styles, tables, headers, footers, comments, tracked-change expectations, and metadata, then reopen or parse the document before claiming success.
38
39<!-- MCP:START -->
40
41<!-- PORTABILITY:START -->
42## Cross-Client Portability
43
44This skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.
45
46- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the
47 workflow in project instructions when folder discovery is unavailable.
48- Claude Code: keep the folder in a local skills directory or a compatible plugin source.
49- Codex: install or sync the folder into
50 `$CODEX_HOME/skills/word-document` and restart Codex after major changes.
51
52<!-- PORTABILITY:END -->
53
54## MCP Availability And Fallback
55
56Preferred MCP Server: Word Document MCP
57
58- Fallback prompt: "Use the Word Document Workflows skill without MCP. Follow the documented local or manual fallback, show the selected tool surface, and report the verification evidence."
59- Use `python-docx`, Word desktop, or document export scripts when the MCP surface is unavailable.
60- Re-open or render the document locally so formatting, comments, and pagination are verified before delivery.
61- Do not claim an MCP operation was used when the active host does not expose it.
62
63<!-- MCP:END -->
64
65## Anti-Patterns
66
67- Writing for the author instead of the reader: It bakes in unstated context and leaves the actual audience unsure what to do next.
68- Skipping concrete examples or commands: Abstract guidance is easy to approve and hard to apply correctly.
69- Letting links, screenshots, or versions drift: Polished formatting does not help if the instructions are no longer true.
70
71## Verification Protocol
72
73Before claiming "skill applied successfully":
74
751. Pass/fail: The Word Document artifact type, target format, and required output fidelity are stated before editing.
762. Pass/fail: MCP availability is checked and the native automation fallback path is named when MCP is absent.
773. Pass/fail: The produced file or formula is opened, parsed, rendered, or otherwise validated locally.
784. Pressure-test scenario: Apply the workflow to a file with formatting, metadata, or conversion edge cases and verify nothing important is lost.
795. Success metric: Zero unverified document claims; the artifact itself is the evidence.
80
81## Document Checklist
82
83- [ ] Heading hierarchy is clear
84- [ ] Tables are readable and consistently styled
85- [ ] Comments or review notes are intentional
86- [ ] Placeholder text is removed
87- [ ] The final document was re-opened or otherwise verified after generation
88
89## References & Resources
90
91### Documentation
92- [DOCX Formatting Reference](./references/docx-formatting-reference.md) - Practical formatting notes and document structure guidance
93
94### Scripts
95- [DOC Template Generator](./scripts/doc-template-generator.py) - Local fallback for generating Word-ready document structures
96
97### Examples
98- [Report Generation Example](./examples/report-generation-example.md) - Example report workflow for `.docx` output
99
100## Related Skills
101
102- [documentation-authoring](../documentation-authoring/SKILL.md): Use it when the workflow also needs drafting structured technical or product documents.
103- [documentation-patterns](../documentation-patterns/SKILL.md): Use it when the workflow also needs reusable documentation structures and templates.
104- [documentation-quality](../documentation-quality/SKILL.md): Use it when the workflow also needs documentation review standards and quality gates.
105- [documentation-verification](../documentation-verification/SKILL.md): Use it when the workflow also needs final documentation validation before publishing.