docx

Edit DOCX documents with tracked changes, comments, and formatting-preserving edits.

322|45|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Microck/ordinary-claude-skills --skill docx-microck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Microck/ordinary-claude-skills/tree/main/skills_all/docx
Command: npx skills add https://github.com/Microck/ordinary-claude-skills --skill docx-microck

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates Word document processing including tracked changes, redlining, and comments for professional document workflows.

Core Features & Use Cases

  • Tracked changes and redlining workflows
  • Comment management and extraction
  • Text extraction and formatting preservation

Quick Start

In the sample document contract_draft.docx, identify a section and add a comment requesting verification.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes and comments to a DOCX document?

Tracked changes and comments in DOCX files are managed through OOXML markup using w:ins and w:del tags for insertions and deletions, paired with author and date stamps. This Skill automates applying these edits while preserving document formatting and whitespace, supporting redlining workflows across legal, academic, and business documents.

Can I extract and preserve formatting when editing Word documents programmatically?

Yes. This Skill uses OOXML manipulation and raw XML access via docx-js and Python libraries to extract text and apply formatting-preserving edits. RSID management ensures change tracking integrity and whitespace preservation maintains document structure during programmatic modifications.

What's the best way to implement redlining reviews in DOCX files?

Redlining in DOCX requires precise OOXML manipulation with w:ins/w:del tags, author attribution, and date stamping. This Skill handles the complete workflow—from identifying sections to applying tracked changes and managing comments—enabling professional review cycles without manual markup.

How do I manage comments and extract text from DOCX documents?

Comment management and text extraction from DOCX files involve parsing OOXML structure. This Skill provides comment extraction and text recovery while maintaining formatting context, supporting workflows that require content review, verification, and audit trails across document versions.

Does this work for creating new Word documents from scratch?

Yes. Beyond editing existing documents, this Skill creates new DOCX files via docx-js, supporting document generation with tracked changes, comments, and proper formatting from the start. This covers template creation and automated document assembly for professional workflows.

What are the limitations when applying tracked changes to complex documents?

OOXML manipulation requires precise tag handling; complex nested structures, macros, or non-standard formatting may require manual validation. Whitespace and RSID preservation work correctly for standard documents, but highly customized formatting or legacy Word-specific features may need post-processing review.