docx

Manage tracked changes, comments, and formatting in Word DOCX files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Claude spends excessive time on manual Word DOCX editing, maintaining tracked changes, and preserving complex formatting. This skill automates these tasks, reducing turnaround time and human error.

Core Features & Use Cases

  • Automated Word DOCX creation, editing, and formatting preservation using the included scripts.
  • Full support for tracked changes and comments workflows, including insertion and redlining patterns.
  • Use Case: When preparing contract drafts, auto-apply a set of edits and generate a redlined document ready for review.

Quick Start

Use the docx.skill to apply a sample set of edits to a test document using the Script workflow in docx/scripts. Then save and validate the result using the pack utility.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word DOCX editing and preserve tracked changes?

Automate Word DOCX editing and preserve tracked changes by using scripts that directly manipulate OOXML structures to apply edits, insert comments, and validate formatting without manual human effort.

How does automated redlining work for DOCX contract drafts?

Automated redlining for DOCX contract drafts works by applying insertion and deletion patterns directly within the OOXML format, generating a fully tracked document ready for professional review.

Can I use lxml and defusedxml to modify OOXML elements in Word files?

You can use lxml and defusedxml to safely parse and modify complex OOXML elements in Word DOCX files, allowing automated edits while maintaining document structural integrity.

What is the best way to programmatically add comments to a Word document?

The best way to programmatically add comments to a Word document is by running dedicated scripts that inject comment structures into the OOXML format and package the validated output.

Do I need Python to automate document creation and modification workflows?

You need Python with standard library tooling and specific packages to run the scripts that execute document creation, modification, and packaging workflows for DOCX files.

Why does formatting break when modifying OOXML structures in DOCX files?

Formatting breaks when modifying OOXML structures in DOCX files if edits bypass proper validation, making it essential to use a pack utility to validate and package the final document correctly.