docx

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

Updated Dec 24, 2025
One-click install
npx skills add https://github.com/nidhalboumaiza-0/PFA_2026_E-Sante --skill docx-nidhalboumaiza-0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/nidhalboumaiza-0/PFA_2026_E-Sante/tree/main/admin-e-sante/skills/docx
Command: npx skills add https://github.com/nidhalboumaiza-0/PFA_2026_E-Sante --skill docx-nidhalboumaiza-0

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates Word document creation, editing, and review, including handling tracked changes, comments, formatting preservation, and text extraction for professional document workflows.

Core Features & Use Cases

  • Automated DOCX creation, editing, and redlining with tracked changes.
  • Commenting, formatting preservation, and text extraction for audits and reviews.
  • Real-world use: generate a contract draft, apply stakeholder edits via tracked changes, add comments, and export a finalized document with a full change history.

Quick Start

Use the docx skill to automatically create or modify a Word document using the repository's DOCX tooling.

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 tracked changes?

Automate Word document creation and editing by using DOCX manipulation tooling to apply stakeholder edits via tracked changes, add comments, and generate finalized drafts with a full change history.

What is OOXML validation and how does it apply to DOCX redlining?

OOXML validation ensures structural integrity of Word processing documents, enabling reliable DOCX redlining by verifying that tracked changes and comments conform to the standard XML schema.

Can I extract text and preserve formatting from Word documents for audits?

Yes, you can extract text and preserve formatting from Word documents for audits, applying OOXML validation to maintain formatting integrity during collaborative reviews and redlining.

Does this DOCX tooling work with Python and lxml for document automation?

Yes, this DOCX tooling works with Python and relies on lxml and defusedxml dependencies to parse, validate, and manipulate OOXML structures for comprehensive document automation workflows.

What's the best way to generate contract drafts and apply stakeholder edits programmatically?

The best way to generate contract drafts and apply stakeholder edits programmatically is using DOCX automation to create the document, apply revisions as tracked changes, and append comments for review.

What are the limitations of manipulating OOXML directly for document workflows?

Manipulating OOXML directly requires strict schema adherence to prevent corruption, meaning you must rely on validation tooling to avoid breaking formatting or losing tracked changes during edits.