docx

Create, edit, and analyze Word documents with tracked changes via OOXML.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/duc01226/SoftwareDevCareers --skill docx-duc01226
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/duc01226/SoftwareDevCareers/tree/main/.claude/skills/document-skills/docx
Command: npx skills add https://github.com/duc01226/SoftwareDevCareers --skill docx-duc01226

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates creation, editing, and analysis of professional Word documents (.docx), preserving formatting and enabling efficient collaboration.

Core Features & Use Cases

  • Tracked changes and comments support for collaborative reviews.
  • Formatting preservation and text extraction from .docx files.
  • End-to-end document workflows including creation, modification, redlining, and analysis with OOXML tooling.

Quick Start

Create a contract skeleton in Word with tracked changes and comments using the DocxXMLEditor workflow.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document editing with tracked changes and comments?

Automate Word document editing by applying a structured OOXML workflow that directly manipulates .docx files. This enables programmatic tracked changes, comment handling, and text extraction while preserving original formatting for collaborative reviews.

What is the best way to extract text from a .docx file while preserving formatting?

Extract text from .docx files while preserving formatting by utilizing the DocxXMLEditor and OOXML tooling. This approach parses the underlying XML structure directly, maintaining document integrity and enabling robust text analysis.

Can I use OOXML to programmatically draft contracts in Word?

Yes, you can use OOXML to programmatically draft contracts in Word. The structured workflow supports creating document skeletons, applying modifications, and enabling redlining for professional contract drafting tasks.

Do I need lxml and defusedxml to process .docx files with tracked changes?

Yes, processing .docx files with tracked changes requires lxml and defusedxml dependencies. These libraries provide the necessary XML parsing and security functions to safely manipulate the OOXML structure of Word documents.

Does this OOXML approach support collaborative reviews with comments in Word documents?

Yes, this OOXML approach fully supports collaborative reviews with comments in Word documents. It provides dedicated comment handling and tracked-changes operations to facilitate end-to-end document review workflows.

Why does my Word document formatting break when editing OOXML directly?

Formatting breaks when OOXML editing bypasses structural rules. Using a structured OOXML workflow with the DocxXMLEditor ensures formatting preservation by maintaining the correct XML schema relationships during document modification.