This gives Claude systematic workflows for creating, editing, and analyzing Word documents through OOXML manipulation. You get three main paths: pandoc for text extraction, docx-js for creating new documents from scratch, and a Python Document library for editing existing files. The standout feature is the "redlining workflow" which lets you plan tracked changes in markdown before implementing them as proper Word tracked changes in the XML, with clear guidance on batching edits and preserving formatting. It's detailed enough to be genuinely useful, with 600+ lines of reference documentation on OOXML patterns and a decision tree that steers you toward the right approach. If you're building document automation or need to programmatically edit contracts and reports while keeping a proper audit trail, this covers the mechanics.
- skills.sh installs
- 200
- GitHub stars
- 3.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davepoon/buildwithclaude --skill docx --agent claude-codeInstalls into .claude/skills of the current project.
Files
DOCX creation, editing, and analysis
Overview
A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.
Workflow Decision Tree
Reading/Analyzing Content
Use "Text extraction" or "Raw XML access" sections below
Creating New Document
Use "Creating a new Word document" workflow
Editing Existing Document
-
Your own document + simple changes Use "Basic OOXML editing" workflow
-
Someone else's document Use "Redlining workflow" (recommended default)
-
Legal, academic, business, or government docs Use "Redlining workflow" (required)
Reading and analyzing content
Text extraction
If you just need to read the text contents of a document, you should convert the document to markdown using pandoc. Pandoc provides excellent support for preserving document structure and can show tracked changes:
Sponsors
Details
- Repository
- github.com/davepoon/buildwithclaude
- Category
- Office & Documents
- First seen
- Jun 3, 2026
