docx

Create, edit, and analyze Word documents with tracked changes and XML operations.

15|27|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/kevinnguyen271090/claudekit-engineering --skill docx-kevinnguyen271090
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/kevinnguyen271090/claudekit-engineering/tree/main/document-skills/docx
Command: npx skills add https://github.com/kevinnguyen271090/claudekit-engineering --skill docx-kevinnguyen271090

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, 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 dynamic content generation. It eliminates the manual effort of managing tracked changes, comments, and intricate formatting, ensuring consistency and efficiency in document workflows.

Core Features & Use Cases

  • Tracked Changes & Redlining: Programmatically add insertions, deletions, and formatting changes with full revision tracking, essential for legal and editorial processes.
  • Comment Management: Add, reply to, resolve, and extract comments within documents, streamlining collaborative review cycles.
  • Content Generation & Formatting: Dynamically generate document content, apply styles, and manage complex layouts for reports, contracts, and personalized documents.
  • Use Case: In a legal firm, a paralegal needs to review a contract draft and add specific comments and tracked changes based on client feedback. This Skill can automate finding relevant sections, inserting comments, and applying redlines, saving hours of manual work.

Quick Start

In the attached document 'contract_draft.docx', find the paragraph starting with 'Section 3.1' and add a comment that says 'Please verify this date with the legal team.'

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 Word documents programmatically?

Tracked changes and comments enable collaborative editing in Word documents. This Skill uses python-docx to programmatically insert deletions, insertions, formatting revisions, and comments with full revision tracking, automating redlining workflows without manual document editing.

Can I extract and manage comments from a docx file automatically?

Yes. This Skill extracts, adds, replies to, and resolves comments within docx files, streamlining collaborative review cycles and eliminating manual comment extraction from Word documents.

How do I automate legal document redlining with tracked changes?

Legal redlining requires precise insertion, deletion, and formatting change tracking. This Skill automates finding document sections, applying tracked changes, and inserting comments based on client feedback, saving hours of manual paralegal work.

What's the best way to generate dynamic Word documents with preserved formatting?

Dynamic document generation with consistent formatting requires programmatic content creation and style application. This Skill enables dynamic content insertion, layout management, and style preservation for reports, contracts, and personalized docx outputs.

Can I access and modify XML structure in Word documents?

Yes. This Skill provides XML-level operations for reading and validating OOXML structure, enabling document unpacking, packing, and validation beyond standard python-docx APIs for advanced document manipulation.

Do I need python-docx experience to automate Word document editing?

This Skill is built on python-docx and handles complex operations like tracked changes, comments, and XML access. Basic Python knowledge is helpful, but the Skill abstracts redlining workflows and collaborative editing complexity.