docx

Create, edit, and track changes in .docx files using a Python OOXML editor.

1|Updated Oct 1, 2025
One-click install
npx skills add https://github.com/GodSpeedAI/SEA --skill docx-godspeedai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/GodSpeedAI/SEA/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/GodSpeedAI/SEA --skill docx-godspeedai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates routine Word document tasks such as creating new .docx files, editing existing content, and applying tracked changes, reducing manual labor and human error.

Core Features & Use Cases

  • Document creation: Generate new Word documents with consistent styling and structure.
  • Editing & redlining: Apply edits while preserving author changes and tracking history for review.
  • Comments & collaboration: Attach comments to specific ranges or paragraphs to support collaboration and approvals.

Quick Start

Use this skill to create a new Word document named "ProjectProposal.docx" with an initial outline, then apply two tracked changes and add a reviewer comment for approval.

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 creation and apply tracked changes to docx files?

You can automate Word document tasks like creating, editing, and applying tracked changes to docx files by using a Python OOXML editor. This preserves formatting and tracks author history for professional review.

Can I add reviewer comments to specific paragraphs in a Word document programmatically?

Yes, you can attach comments to specific ranges or paragraphs in a Word document programmatically. This supports collaboration and approval workflows directly within the docx file structure.

How does a Python OOXML editor handle formatting preservation when editing existing docx files?

A Python OOXML editor handles formatting preservation by directly manipulating the XML structure of docx files. This ensures styling and structure remain consistent while applying redlining or content edits.

Do I need lxml and defusedxml dependencies to automate Word document redlining and commenting?

Yes, automating Word document redlining and commenting requires lxml and defusedxml dependencies. These libraries provide the necessary XML parsing and security validation to safely edit OOXML structures.

What is the best way to generate a new Word document with consistent styling and an initial outline?

The best way to generate a new Word document with consistent styling is through automated document creation scripts. This approach builds a structured docx file with predefined formatting and an initial outline.

Are there limitations when using a Python OOXML editor for complex Word document workflows?

Limitations when using a Python OOXML editor for Word document workflows may involve handling highly complex embedded objects or non-standard XML schemas. An optional validation suite helps maintain XML integrity to mitigate these risks.