docx

Create, edit, and redline DOCX documents with Python OOXML.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/synapticera/prod-helm-pm --skill docx-synapticera
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/synapticera/prod-helm-pm/tree/main/.claude/skills/x%3Adocx
Command: npx skills add https://github.com/synapticera/prod-helm-pm --skill docx-synapticera

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables seamless programmatic creation, editing, and redlining of Word documents (.docx), reducing manual document toil and ensuring traceable changes.

Core Features & Use Cases

  • Create new documents with structured headings and styles using Python OOXML templates.
  • Edit existing documents, apply tracked changes, and manage comments with author metadata.
  • Use cases include contract drafting, report updates, and collaborative document reviews with transparent change history.

Quick Start

Instruct Claude to generate a new Word document with a formal title and a few sections, then apply a redline on a paragraph to demonstrate tracked changes.

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 editing with Python?

Automate Word document creation and editing by using Python OOXML tooling to generate structured headings, apply styles, and manage professional document workflows programmatically. This approach reduces manual document toil and ensures traceable changes.

Can I apply tracked changes and comments to a DOCX file programmatically?

Apply tracked changes and comments to DOCX files programmatically by injecting RSID and author metadata into the OOXML structure. This enables collaborative document reviews with transparent, auditable change history for contracts and reports.

What is OOXML and when do I need it for document automation?

OOXML is the Office Open XML format underlying Word documents, needed for document automation when you require precise control over styles, tracked changes, and metadata injection beyond standard templating. It enables auditable, structured document generation and redlining.

Does this document editing approach require lxml and defusedxml dependencies?

This document editing approach requires lxml and defusedxml dependencies to parse and manipulate OOXML structures safely. These libraries provide the XML processing foundation for injecting tracked changes, comments, and author metadata into DOCX files.

What's the best way to draft contracts with transparent change history?

Draft contracts with transparent change history by using Python OOXML tooling to create structured documents and apply redlines with author metadata injection. This ensures collaborative editing with auditable tracked changes and comments for professional workflows.

Why use Python OOXML for collaborative document reviews instead of manual editing?

Use Python OOXML for collaborative document reviews to automate redlining, inject RSID and author metadata, and ensure auditable change history. Manual editing lacks the traceability and programmatic control needed for professional contract drafting and report updates.