docx

Create, edit, and analyze Word documents with tracked changes and comments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Claude needs a robust workflow to create, edit, and analyze professional Word documents (.docx) while preserving formatting, applying tracked changes, and enabling comments and text extraction.

Core Features & Use Cases

  • Comprehensive Word document creation, editing, and analysis with formatting preservation and support for tracked changes.
  • Collaboration-ready workflows including comments, redlining, and content extraction for indexing and review.
  • Practical scenario: generate a templated Word document, apply precise edits with proper tracked changes, and extract key text for reporting.

Quick Start

Provide a Word document to Claude and request an action such as "Create a new document with a centered title and a two-paragraph body, enabling track changes and adding a comment to the intro."

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 creation with tracked changes and comments?

You can automate Word document creation by implementing OpenXML manipulation to generate .docx files, apply precise edits with proper tracked changes patterns, and add comments for collaboration-ready review workflows.

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

Extracting text from a .docx file while preserving formatting requires an OpenXML manipulation workflow that parses the document structure, enabling content extraction for indexing and professional review.

Does lxml work with OpenXML for editing Word documents?

lxml supports OpenXML for editing Word documents by providing the XML processing foundation to manipulate .docx structures, alongside defusedxml for secure XML parsing during document automation tasks.

How do I apply tracked changes to an existing Word document programmatically?

Programmatically applying tracked changes to an existing Word document requires an OpenXML workflow that enforces proper tracked changes patterns, validates document structure, and preserves formatting during edits for collaboration-ready reviews.

Can I generate a Word document from a template and add comments for review?

You can generate a Word document from a template and add comments for review using an end-to-end OOXML workflow that creates the document, applies edits, and inserts comments for collaboration-ready document workflows.

What are the limitations of using OpenXML for Word document automation?

Limitations of using OpenXML for Word document automation include the complexity of enforcing proper tracked changes patterns and the need to validate document structure, as incorrect XML manipulation can corrupt the .docx file.