docx

Create, edit, and analyze Word DOCX files with tracked changes and comments.

Updated May 31, 2025
One-click install
npx skills add https://github.com/dEitY719/dotfiles --skill docx-deity719
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/dEitY719/dotfiles/tree/main/claude/skills/docx
Command: npx skills add https://github.com/dEitY719/dotfiles --skill docx-deity719

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word documents (.docx) often require precise formatting, tracked edits, and collaborative feedback. This skill provides end-to-end capabilities to create, modify, and analyze DOCX files while preserving formatting and enabling review workflows.

Core Features & Use Cases

  • Creating new documents with structured formatting and styles using a modular approach.
  • Editing existing documents with tracked changes and inline comments for review.
  • Performing redlining workflows to plan and apply precise changes with full provenance, including metadata and RSIDs.
  • Content analysis, metadata extraction, and compatibility checks for professional documents.

Quick Start

Create a new Word document, apply edits with tracked changes, and attach comments using the redlining workflow.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I apply tracked changes to a Word DOCX file?

You can insert inline comments into Word documents by manipulating comment ranges within the OOXML structure. This Skill modifies document.xml and related rels to attach comments directly to specific text segments.

Can I extract metadata and analyze content from existing DOCX files?

Yes, you can perform content analysis and extract metadata from existing DOCX files. This allows you to review document properties, check compatibility, and analyze structured formatting without breaking the original styles.

Do I need Python and defusedxml to edit Word documents with tracked changes?

Yes, you need Python and the defusedxml dependency to safely parse and edit Word documents. This environment allows the Skill to manipulate OOXML structures and execute batch change workflows with full provenance.

What is the best way to generate new Word documents with structured formatting?

The best way to generate new Word documents with structured formatting is using a modular OOXML approach. This Skill creates new DOCX files by programmatically building document.xml to enforce specific styles and layouts.

Why does my formatting break when applying redlining workflows to DOCX files?

Formatting breaks during redlining workflows when document.xml is modified without preserving OOXML structure. This Skill maintains formatting preservation by carefully managing related rels and applying batch changes with tracked provenance.