docx

Create and edit Word documents with tracked changes and comments.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/XSIJIE975/agents-skills --skill docx-xsijie975
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/XSIJIE975/agents-skills/tree/main/skills/docx
Command: npx skills add https://github.com/XSIJIE975/agents-skills --skill docx-xsijie975

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates complex Word (.docx) document workflows—creating new documents, applying edits, and managing reviews with tracked changes and comments—preserving formatting and provenance across collaborators.

Core Features & Use Cases

  • Document creation: Generate Word documents from descriptions and templates while preserving formatting and styles.
  • Editing with tracked changes: Apply redlining and comments to existing documents, maintaining a clean and auditable change history.
  • Comment workflows: Attach reviewer notes to specific ranges for collaborative feedback and governance.
  • Use cases: Drafts, proposals, policies, and contracts that require reproducible edits and traceable review history.

Quick Start

Use the docx skill to generate a new Word document from a high-level description or to apply a set of tracked changes and comments to an existing .docx file.

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?

Automating Word document editing applies redlining and comments to .docx files, maintaining a clean and auditable change history. This approach uses Python OOXML tooling to deterministically manipulate content while preserving formatting and provenance across collaborators.

How can I generate a Word document from a description while preserving styles?

Generating a Word document from a high-level description creates .docx files from templates while preserving formatting and styles. This targets professional workflows where drafts, proposals, and policies require reproducible edits and traceable review history.

Does this Word document automation approach support embedded media and complex OOXML structures?

This Word document automation approach supports embedded media and complex OOXML structures. It relies on libraries like Pillow for embedded media and defusedxml to securely parse and manipulate OOXML content deterministically.

What is the best way to attach reviewer notes to specific text ranges in a docx file?

The best way to attach reviewer notes to specific text ranges in a docx file is using comment workflows. This attaches reviewer notes to specific ranges for collaborative feedback and governance, ensuring traceable review history across documents.

Do I need Python libraries to manipulate tracked changes in Word documents?

You need Python libraries to manipulate tracked changes in Word documents. The workflow relies on Python OOXML tooling and dependencies like defusedxml and Pillow to target professional document editing and review processes.

Why use OOXML for document-editing instead of standard Word automation tools?

Using OOXML for document-editing deterministically manipulates Word content without relying on the Word application. This preserves formatting and provenance across .docx files, ensuring reproducible edits for contracts and policies.