Complete Word document creation, editing, and analysis guide built on docx-js and XML unpacking for .docx files.
- CCM score
- 76 of 100
- skills.sh installs
- 526
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers reading via
pandocwith tracked changes, raw XML unpacking, and conversion of legacy.docfiles to.docx - Includes docx-js setup for page sizing, styles, numbered lists, and tables, plus
validate.pychecks after generation - Enforces US Letter defaults over docx-js A4 defaults and DXA-only table widths for consistent rendering in Google Docs
- Designed for generating reports, memos, letters, and templates, and for editing existing Word files with tracked changes or comments
Install
$ npx -y skills add davila7/claude-code-templates --skill docx -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
DOCX creation, editing, and analysis
Overview
A .docx file is a ZIP archive containing XML files.
Quick Reference
| Task | Approach |
|---|---|
| Read/analyze content | pandoc or unpack for raw XML |
| Create new document | Use docx-js - see Creating New Documents below |
| Edit existing document | Unpack → edit XML → repack - see Editing Existing Documents below |
Converting .doc to .docx
Legacy .doc files must be converted before editing:
python scripts/office/soffice.py --headless --convert-to docx document.doc
Reading Content
# Text extraction with tracked changes
pandoc --track-changes=all document.docx -o output.md
# Raw XML access
python scripts/office/unpack.py document.docx unpacked/
Converting to Images
python scripts/office/soffice.py --headless --convert-to pdf document.docx
pdftoppm -jpeg -r 150 document.pdf page
Accepting Tracked Changes
To produce a clean document with all tracked changes accepted (requires LibreOffice):
python scripts/accept_changes.py input.docx output.docx
Creating New Documents
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Office Files & Slides, Technical Documentation
- First seen
- Jun 3, 2026
Questions
What does the docx skill do for Claude Code?
The docx skill lets Claude Code create, read, edit and manipulate Word documents in .docx format. It covers tasks such as adding headings, tables of contents, page numbers, images, find-and-replace, tracked changes and comments.
How do I install the docx skill?
Run npx -y skills add davila7/claude-code-templates --skill docx -y in your project. Once installed, the agent can produce polished Word reports, memos, letters and templates when you ask for a .docx deliverable.
Which Office Files & Slides skills sit alongside docx on Claude Marketplaces?
The docx skill is listed in the Office Files & Slides category, alongside slideshow and several lark skills for documents, sheets and whiteboards. The docx skill focuses on Word files specifically, and it says not to use it for PDFs, spreadsheets or Google Docs.
Can the docx skill edit existing Word files?
Yes, the skill covers editing existing documents, including reading content, extracting or reorganizing text, replacing images and performing find-and-replace. It also handles tracked changes and comments, and converts legacy .doc files to .docx before editing.
More from davila7/claude-code-templates
All 398- Marketing Demand Acquisition525
- Research Grants523
- Web Performance Optimization523
- Screenshot Feature Extractor517
- React Patterns503
- Rag Implementation500
- Executing Marketing Campaigns499
- Api Documentation Generator494
- Backend Dev Guidelines494
- Coding Standards494
- Autonomous Agents492
- Typescript Expert491
- Api Patterns486
- Supabase Postgres Best Practices482
- File Organizer481
- Research Engineer478
- App Builder476
- Api Security Best Practices471
- Parallel Agents469
- Manim466
- Senior Secops466
- Computer Use Agents457
- Git Commit Helper456
- Powershell Windows456
Similar to Docx
More Office Files & Slidesword-documentpracticalswan/agent-skills805 installsStructured Word (.docx) workflow for reading, creating, and formatting documents, with native fallback when MCP is absent.
wordigorwarzocha/opencode-workflows782 installsProfessional Word (.docx) toolkit that enforces a render-and-review loop for visually verified, client-ready documents.
pdf-to-docxclaude-office-skills/skills6.3K installsConverts PDF files to editable Word documents using pdf2docx, preserving layout, tables, and images for editing.
kimi-docxthvroyal/kimi-skills520 installsGenerate and edit Word documents with covers, native charts, and track-changes editing, with validation.
word-document-processorqodex-ai/ai-agent-skills3.6K installsWord document processing covering creation, editing, tracked changes, and text extraction through a redlining workflow.
minimax-docxminimax-ai/skills4.7K installsWord-processing skill for creating, editing, and reformatting .docx files via OpenXML SDK, with a template-formatting gate check.