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-code

Installs 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

More from davepoon/buildwithclaude

All 6
1nexu-io avatarhtml-ppt-course-modulenexu-io/open-designA first-30-days onboarding module for new hospitality hires — the behaviors, the practice, the checks, and the manager follow-up. Built as a decision-grade prof186skills.sh installs
2nexu-io avatarhtml-ppt-xhs-pastel-cardnexu-io/open-design柔和马卡龙慢生活 deck — 奶油184skills.sh installs
3nexu-io avatarhtml-ppt-dir-key-nav-minimalnexu-io/open-design8 页极简方向键 keynote — 每页一个独立单色背景(靛 / 奶 / 绛 / 翠 / 灰 / 紫 / 白 / 炭),各自配色,160px display 标题 + 4px 短粗 accent 线分隔、箭头 → 前缀的 Mono 列表、左下 ← → kbd 提示 + 右下页码、巨大呼吸留白。适合"有话要说但没什么可182skills.sh installs
4nexu-io avatarhtml-ppt-testing-safety-alertnexu-io/open-design红琥珀警示 deck — 顶/底 45° 红黑 hazard 条纹、红色删除线否定标题、L1/L2/L3 绿/琥珀/红 tier 卡片、圆点状态 alert box、policy-yaml 代码块(红左边框 + bad 关键词高亮)、红绿 checklist、Q1 事故堆叠柱状图。适合安全 / 风险 / 事故复盘 / 182skills.sh installs
5nexu-io avatarhtml-ppt-xhs-white-editorialnexu-io/open-design白底杂志风 deck — 纯白背景 + 顶部 10 色彩虹 bar、80-110px display 标题、紫→蓝→绿→橙→粉渐变文字、马卡龙软卡片组(粉/紫/蓝/绿/橙)、黑底白字 .focus pill、引用大块。同时适合发小红书图文 + 横版 PPT 双用。182skills.sh installs
6nexu-io avatarhtml-ppt-xhs-postnexu-io/open-design小红书 / Instagram 风 9 页 3:4 竖版图文(810×1080)— 暖色 pastel、虚线 sticker 卡片、底部页码点点。用于发小红书图文、Instagram carousel、品牌种草内容。181skills.sh installs