Word Documents (DOCX)

Word Documents (DOCX)

✓ Verified

Create, read, edit, and manipulate Word documents (.docx files) with formatting, tracked changes, and text extraction.

Claude / Claude Codetested
GitHub Copilot
Cursor
VS Code
OpenAI Codex
Document CreationDeveloperTeacher / EducatorBusiness OwnerHR ProfessionalLegal Professional

What it does

Same problem as PPTX: Claude generates python-docx code that produces a technically valid Word document with default Times New Roman, no consistent heading hierarchy, and text that doesn't use paragraph styles — meaning the document can't be reformatted or used as a template. This skill loads correct python-docx patterns: proper style application, heading hierarchy, table formatting, tracked changes, and the specific ways Word's format model differs from what you'd expect if you've only worked with HTML.

Use case

Generating Word documents programmatically: client proposals, reports, contracts, or any document that needs to live in .docx format and look professional. Made by Anthropic.

The Prompt

Copy and use immediately
"Generate a project proposal from this outline — formatted as a proper Word document."
"Create a contract template with section headings, numbered clauses, and a signature block."
"Convert this markdown report to a Word document with correct heading styles."
"Add tracked changes to this document showing my edits."
"Build a letter template with our company header and standard footer."

How to use

  1. 1

    Provide content as a description, markdown, or structured data.

  2. 2

    Claude generates the .docx file with correct paragraph styles — not just bold text that looks like a heading.

  3. 3

    Specify any formatting requirements upfront: fonts, margins, header/footer content.

Input / Output

Input

Content in any format — description, markdown, JSON, or plain text. Optionally include formatting specifications.

Output

A .docx file with correct paragraph styles, proper heading hierarchy, consistent formatting, and table structure. Opens in Word and Google Docs without reformatting.

Install via CLI

npx skillsadd anthropics/skills/docx
Added 15 Mar 2026Submitted by anthropics👁 49📋 0

Details

Platforms
Claude / Claude CodeGitHub CopilotCursorVS CodeOpenAI Codex
Category
Document Creation
License
apache-2.0
Author
Anthropic

Stats

📋 Copies0
👁 Views49
👍 Upvotes0

Install with skills.sh

npx skillsadd anthropics/skills/docx

Requires skills.sh CLI

Community Notes

Sign in with GitHub to leave a note.

No notes yet. Be the first to contribute.