docx

Automate Word document creation, editing, and review with OOXML tooling.

23|3|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/danielscholl/claude-sdlc --skill docx-danielscholl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/danielscholl/claude-sdlc/tree/main/plugins/docx/skills/docx
Command: npx skills add https://github.com/danielscholl/claude-sdlc --skill docx-danielscholl

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates the creation, editing, and analysis of professional Word documents (.docx) while preserving formatting, managing tracked changes, and handling comments to support collaborative reviews.

Core Features & Use Cases

  • Tracked changes and comments: automatically apply and manage insertions, deletions, and commentary within Word documents to streamline review cycles.
  • Formatting preservation and extraction: maintain layout, styles, and text semantics during programmatic edits and provide text extraction capabilities for analysis.
  • Real-world scenarios: legal redlining, software documentation updates, and business reports that require auditable revisions and consistent formatting across versions.

Quick Start

Provide a DOCX file and ask Claude to create or modify it with tracked changes and comments while preserving formatting.

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?

You can automate Word document editing by using OOXML tooling to programmatically apply insertions, deletions, and commentary. This approach manages tracked changes and comments to preserve formatting and support collaborative review cycles.

What is OOXML and when do I need it for document editing?

OOXML is the underlying XML-based format used by Word documents. You need it when programmatically editing documents to preserve formatting, manage layout styles, and maintain text semantics during automated revisions.

Can I use Python to add tracked changes to a docx file for legal redlining?

Yes, you can use Python with OOXML tooling to add tracked changes to a docx file. This enables auditable revisions ideal for legal redlining, software documentation updates, and business reports.

How do I extract text from a Word document while preserving its formatting?

To extract text while preserving formatting, use OOXML tooling that maintains layout, styles, and text semantics during programmatic edits. This provides text extraction capabilities for analysis without losing document structure.

Does this approach work with defusedxml for secure XML processing in Word documents?

Yes, the approach uses defusedxml as a dependency for secure XML processing. This ensures safe handling of OOXML structures when automating document creation, editing, and review workflows.

What are the limitations of using OOXML tooling for document review workflows?

OOXML tooling requires precise handling of RSID injection, comment management, and tracked-change workflows to preserve content integrity. Complex formatting may need careful management to ensure consistent results across document versions.