docx

Automates DOCX document editing including tracked changes, redlining, and comments via OOXML and docx-json/Python Document Library workflows.

1|Updated Aug 6, 2025
One-click install
npx skills add https://github.com/tkhongsap/ai-dev-workflow --skill docx-tkhongsap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/tkhongsap/ai-dev-workflow/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/tkhongsap/ai-dev-workflow --skill docx-tkhongsap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve? This Skill automates complex Microsoft Word document editing, including legal redlining, collaborative feedback, and content extraction, saving significant time and ensuring precision in professional document workflows.

Core Features & Use Cases:

  • Redlining Workflow: Systematically plan and implement tracked changes (insertions, deletions) in batches, preserving original formatting.
  • Content Extraction: Convert .docx files to Markdown, preserving document structure and tracked changes for easy analysis.
  • OOXML Editing: Directly manipulate raw XML for advanced features like comments, embedded media, and metadata.
  • Use Case: Review a legal contract, automatically apply a series of tracked changes (redlines) to specific clauses, and add comments for further discussion, then output the revised document.

Quick Start: Use the docx skill to convert the attached document 'contract_draft.docx' to markdown, including all tracked changes.

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply tracked changes and redlines to a Word document automatically?

Tracked changes automate systematic insertions and deletions in DOCX files while preserving original formatting. This Skill lets you plan and implement redlines in batches—ideal for legal contracts and collaborative reviews—then export the marked-up document for further discussion.

Can I convert a DOCX file to Markdown while keeping tracked changes intact?

Yes. This Skill converts .docx files to Markdown format while preserving document structure and all tracked changes, making it easy to analyze revisions and share edits in a readable text format.

What's the best way to extract and manipulate content from Word documents programmatically?

Direct OOXML editing lets you access raw XML within .docx files to extract text, manipulate comments, handle embedded media, and manage metadata without losing formatting or structure.

Can I add comments and tracked changes to DOCX files for collaborative legal workflows?

Yes. This Skill automates adding comments alongside tracked changes in Word documents, enabling collaborative feedback loops where reviewers mark up clauses and clauses and add discussion notes for legal or business teams.

Do I need special tools to handle OOXML and preserve Word document formatting during automation?

This Skill uses OOXML handling with defusedxml parsing and pandoc conversion to maintain all formatting, tracked changes, and metadata automatically—no manual format translation needed.