docx

Automate Word document creation, editing, and redlining with tracked changes.

Updated Dec 13, 2025
One-click install
npx skills add https://github.com/Azeem-2/HackthonII --skill docx-azeem-2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Azeem-2/HackthonII/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/Azeem-2/HackthonII --skill docx-azeem-2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, and includes scripts (resource) components.

What problem does it solve?

The skill automates professional Word document workflows, streamlining creation, editing, and review with robust tracked changes and comments to preserve formatting and provenance.

Core Features & Use Cases

  • Tracked changes and comments: manage insertions, deletions, and reviewer notes while preserving the original formatting and structure.
  • OOXML-aware editing: manipulate WordprocessingML content safely, supporting redlining, cross-references, tables, and images.
  • Use Case: A legal draft with multiple reviewers can be edited and tracked, with comments linked to specific ranges and a final document ready for packing and distribution.

Quick Start

Use the docx skill to start a tracked changes session on a sample file 'proposal.docx' and begin the review.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate tracked changes in Word documents?

Automate tracked changes in Word documents by manipulating OOXML directly to apply insertions, deletions, and comments. This approach uses Python-based WordprocessingML manipulation with RSID, author, and date stamping to ensure changes are correctly represented and validated.

Can I add reviewer comments to specific ranges in a .docx file programmatically?

Yes, you can add reviewer comments to specific ranges in a .docx file programmatically. The skill manipulates WordprocessingML content safely to link comments to targeted text ranges while preserving the original formatting and document structure for professional review workflows.

Does Python OOXML manipulation support complex Word formatting like tables and images?

Python OOXML manipulation supports complex Word formatting like tables, images, and cross-references. It safely edits WordprocessingML content, allowing you to manage redlining and structural elements without corrupting the document's original layout.

What is the best way to manage multiple reviewers redlining a legal Word document?

The best way to manage multiple reviewers redlining a legal Word document is using OOXML-aware editing to track insertions, deletions, and notes. It preserves formatting and provenance, producing a final document ready for packing and distribution.

Why are my tracked changes not validating correctly in Word automation?

Tracked changes may not validate correctly in Word automation if RSID, author, and date stamping are improperly applied. This skill leverages Python-based OOXML manipulation and compatibility checks to ensure tracked changes are correctly represented and validated.

Do I need lxml to edit WordprocessingML content for document redlining?

Yes, you need lxml and defusedxml to safely edit WordprocessingML content for document redlining. These dependencies enable secure, structured XML manipulation required to apply tracked changes and manage professional document workflows.