docx

Create, edit, and redline .docx files with tracked changes and comments.

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/Siyeolryu/ica-SYR- --skill docx-siyeolryu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Siyeolryu/ica-SYR-/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/Siyeolryu/ica-SYR- --skill docx-siyeolryu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

Core Features & Use Cases

  • Create and edit Word documents while preserving formatting and applying tracked changes and comments
  • Generate, review, and extract text from .docx files for analysis and collaboration
  • Use Case: Draft a contract with tracked changes and comments, then export a clean version for sending to a client

Quick Start

Open a sample DOCX and instruct Claude to create a formatted briefing with tracked changes and comments.

Quick Start

Open a sample DOCX and instruct Claude to create a formatted briefing with tracked changes and comments.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I add tracked changes and comments to a Word document programmatically?

To add tracked changes and comments to a Word document, you can automate the process using Python modules that implement RSID-aware insertion, deletion, and comment handling for .docx files. This preserves formatting while applying revisions.

What is the best way to automate Word document creation while preserving formatting?

The best way to automate Word document creation while preserving formatting is by using a Python-based approach that validates content types and performs XSD-based integrity checks on the .docx file structure, ensuring professional document workflows.

Can I extract text from a .docx file for analysis without losing formatting?

Yes, you can extract text from a .docx file for analysis without losing formatting by using specialized document automation modules that parse the underlying OOXML structure while maintaining the original document's integrity.

Does lxml work well for parsing OOXML in Word documents?

Yes, lxml works well for parsing OOXML in Word documents when paired with defusedxml for security, allowing for robust manipulation of the .docx file structure including tracked changes and comments.

Why does my document automation fail when applying tracked changes to .docx files?

Document automation may fail when applying tracked changes to .docx files if the OOXML structure lacks XSD-based integrity or if content-type validation is skipped, which are essential for maintaining RSID-aware insertions and deletions.