This is the skill you reach for when DOCX structure matters, not just plain text. It handles headings, tables, styles, comments, footnotes, and PDF conversion through Word's MCP server when available, falling back to python-docx automation when it's not. The workflow is deliberate: build structure first, apply styling second, verify the output by actually opening the file before you ship it. It includes a verification protocol that stops you from claiming success until the document renders correctly, which is surprisingly easy to skip when you're generating files programmatically. The anti-patterns section calling out "writing for the author instead of the reader" is a good reminder that formatted output doesn't fix unclear thinking.
npx -y skills add practicalswan/agent-skills --skill word-document --agent claude-codeInstalls into .claude/skills of the current project.
Tech Stack Target / Version: Word desktop or
python-docxautomation with current OOXML-compatible workflows.
Use this skill when .docx layout and document structure matter, not just the raw text.
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.
Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
.docx reports, memos, or structured deliverablesWhen 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.
Before claiming "skill applied successfully":
.docx outputThis skill is written to stay usable across GitHub Copilot, Claude Code, Codex, and Gemini CLI.
$CODEX_HOME/skills/<skill-name> and restart Codex after major changes./skills:word-document from this skill. Rebuild commands with python scripts/export-gemini-skill.py word-document and then run /commands reload inside Gemini CLI.Preferred MCP Server: Word Document MCP
SKILL.md, bundled references or scripts, and manual verification. Show the exact commands, evidence, and final checks you used before concluding."python-docx, Word desktop, or document export scripts when the MCP surface is unavailable.sickn33/antigravity-awesome-skills
moizibnyousaf/ai-agent-skills
github/awesome-copilot