This is a comprehensive workflow for creating, reading, and editing Word documents through their underlying OOXML structure. It shines when you need to implement tracked changes professionally, the kind you'd see in legal or business document reviews. The redlining workflow is well thought out: convert to markdown with pandoc to plan your edits, batch changes strategically, then use the Document library to inject precise tracked change XML that only marks what actually changed. It includes docx-js for creating new documents from scratch and detailed patterns for unpacking the ZIP structure to access comments, formatting, and metadata directly. The batching strategy and minimal edit principle show real world experience with document review workflows.

skills.sh installs
268
GitHub stars
76
last updated
Aug 21, 2026

Install

$ npx -y skills add rysweet/amplihack --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/rysweet/amplihack
Category
Office & Documents
First seen
Jun 3, 2026

More from rysweet/amplihack

All 58
1jim60105 avatardocxjim60105/copilot-promptUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word doc264skills.sh installs
2letta-ai avatarextracting-pdf-textletta-ai/skillsExtract text from PDFs for LLM consumption. Use when processing PDFs for RAG, document analysis, or text extraction. Supports API services (Mistral OCR) and loc257skills.sh installs
3odyssey4me avatargoogle-slidesodyssey4me/agent-skillsMarkdown-driven presentation builder with Google Slides upload. Write Markdown, build .pptx locally, review in LibreOffice, upload to Google Slides.195skills.sh installs
4nexu-io avatarhtml-ppt-pitch-decknexu-io/open-designInvestor-ready 10-slide HTML pitch deck — white + blue→purple gradient hero, big numbers, traction bar chart, $4.5M-style ask page. Use when the user wants a fu190skills.sh installs
5bytedance avatarbyted-las-pdf-parse-doubaobytedance/agentkit-samplesPDF 解析(Doubao):将 PDF/扫描件转成结构化 Markdown/文本,支持表格与多栏版式。当用户要从 PDF 提取文字/表格或做 OCR 时触发。166skills.sh installs
6nexu-io avatarhtml-ppt-taste-editorialnexu-io/open-design16:9 HTML deck in editorial-minimalist taste. Warm cream slides, serif display + grotesque body, hairline rules, monospace meta, generous macro-whitespace, one 160skills.sh installs