docx

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

24|15|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/ammosu/awesome-claude-skills-zh-TW --skill docx-ammosu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ammosu/awesome-claude-skills-zh-TW/tree/main/document-skills/docx
Command: npx skills add https://github.com/ammosu/awesome-claude-skills-zh-TW --skill docx-ammosu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the end-to-end workflow for Word documents, enabling automated creation, editing, and analysis of .docx files with support for tracked changes, comments, and formatting preservation.

Core Features & Use Cases

  • Create new Word documents with structured content (headings, lists, tables, images) and consistent formatting.
  • Edit existing documents while preserving formatting, applying tracked changes, and adding comments for collaboration.
  • Analyze and validate Word content, extract text, compare versions, and support content-type checks for robust document workflows.

Quick Start

Use the docx skill to create a new Word document with a title and introduction paragraph.

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 while preserving formatting?

Automating Word document editing while preserving formatting requires parsing and modifying OOXML structures directly with Python-based tooling. This approach manipulates the underlying .docx XML to maintain original layouts and revision history.

Can I add tracked changes and comments to a .docx file programmatically?

Yes, you can add tracked changes and comments to a .docx file programmatically. This skill supports collaborative editing workflows by writing tracked revisions and annotations into the OOXML structure for reports and contracts.

What is the best way to create Word documents with structured content like tables and lists?

The best way to create Word documents with structured content like tables and lists is using automated OOXML generation. This allows you to build new .docx files with consistent formatting, headings, and images directly through code.

Does this Word document automation approach work with existing contracts and proposals?

Yes, this Word document automation approach works with existing contracts and proposals. It can analyze, validate, and edit professional .docx files while applying tracked changes for robust document review workflows.

Do I need lxml and defusedxml to parse and modify OOXML files?

Yes, you need lxml and defusedxml to parse and modify OOXML files safely. These dependencies provide the XML parsing and security utilities required to alter Word documents while preserving their internal structure.