Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
92
90%
Does it follow best practices?
Impact
93%
1.52xAverage score across 8 eval scenarios
Passed
No findings from the security scan
The canonical home for this skill is docx in anthropics/skills
Headers, footers, TOC, footnotes, and tab stops
TOC uses HeadingLevel only
100%
100%
outlineLevel in heading styles
0%
100%
Footer uses tab stop, not table
100%
100%
No paragraph divider tables
100%
100%
Dynamic page number in footer
100%
100%
Header on body pages
100%
100%
Footnotes via Document API
100%
100%
Arial default font
0%
100%
Exact heading style IDs
100%
100%
No newline characters in text
100%
100%
Redlining workflow with tracked changes
Uses tracked changes (w:ins and w:del)
100%
100%
Minimal precise edits
100%
100%
All requested changes applied
100%
100%
Document validates and opens correctly
85%
90%
docx-js tables and lists with professional formatting
Tables use columnWidths and cell widths
0%
100%
Table header row with proper shading
50%
100%
Bullet lists use numbering config
12%
60%
Numbered lists with correct references
10%
100%
Cell borders applied to cells
0%
100%
Paragraph-level tracked deletions and comment replies
Paragraph mark deleted
100%
100%
Full paragraph content in w:del
100%
100%
comment.py used for comments
0%
100%
Reply uses --parent flag
0%
100%
Comment range markers placement
100%
100%
Smart quotes in comment text
0%
100%
Author set to Claude
0%
100%
pack.py with --original flag
0%
100%
Whole w:r replaced for tracked changes
100%
100%
Redlining workflow with tracked changes
Tracked changes implemented
100%
100%
Minimal, precise edits
100%
100%
All four changes present
100%
100%
Document structure preserved
100%
100%
Professional implementation
100%
100%
Page size, landscape orientation, images, and validation
US Letter page size set
100%
100%
Landscape portrait dimensions
0%
100%
ImageRun type parameter present
0%
100%
ImageRun altText complete
0%
100%
validate.py called after generation
0%
25%
PageBreak inside Paragraph
100%
100%
Table uses WidthType.DXA
100%
100%
Table dual widths
50%
100%
No newline characters
100%
100%
docx-js document creation for new documents
Uses docx-js library
0%
100%
Proper heading hierarchy
50%
60%
Content completeness
100%
100%
Exports valid .docx file
50%
100%
Professional default styling
33%
100%
Pandoc text extraction and comments workflow
Uses pandoc for text extraction
0%
0%
Adds comments using Document library
0%
80%
Comments placed at correct locations
100%
100%
All requested comments added
100%
100%
Document remains valid after comments
70%
100%
afaa86e
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.