docx

Create and edit Word documents with tracked changes and OOXML validation.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/m0at/claudemd --skill docx-m0at
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/m0at/claudemd/tree/main/skills/docx
Command: npx skills add https://github.com/m0at/claudemd --skill docx-m0at

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document creation, editing, and review are error-prone and time-consuming; this toolkit provides a structured approach to manage Word documents with tracked changes, comments, and XML-level validation for professional document processing.

Core Features & Use Cases

  • Create new Word documents from templates and programmatically edit content.
  • Track changes and comments via deterministic redlining, enabling review workflows and auditability.
  • Extract text and structure from OOXML while preserving formatting for downstream processing and archiving.

Quick Start

Load a sample Word document and begin scripted edits to apply tracked changes and generate a redlined version.

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 edits with tracked changes and comments?

You can automate Word document edits with tracked changes by applying deterministic redlining scripts to programmatically insert revisions and comments, generating an auditable redlined OOXML document.

What is OOXML manipulation for redlining Word documents?

OOXML manipulation for redlining involves editing the underlying XML structure of Word documents to deterministically track changes, add comments, and validate schema compliance for professional review workflows.

How do I create Word documents from templates programmatically?

You can create Word documents from templates programmatically by loading a base OOXML file and applying Python scripts to inject content, structure, and formatting while preserving the original template layout.

Does this Word document toolkit require lxml and defusedxml dependencies?

Yes, this Word document toolkit requires both lxml and defusedxml dependencies to perform secure XML parsing and schema-based validation for compliant OOXML manipulation.

Can I extract text and structure from OOXML while preserving formatting?

Yes, you can extract text and structure from OOXML while preserving formatting by parsing the document XML to pull content for downstream processing, archiving, and review without losing original layout data.

What is the best way to validate Word documents for OOXML schema compliance?

The best way to validate Word documents for OOXML schema compliance is using schema-based validation tools that audit deterministic edits and tracked changes to ensure the final output remains structurally compliant.