docx

Generate and edit DOCX files with tracked changes and comments.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/huivrotiki/antigravity-code-workspace-copy --skill docx-huivrotiki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/huivrotiki/antigravity-code-workspace-copy/tree/main/02-Skills/document-skills/docx
Command: npx skills add https://github.com/huivrotiki/antigravity-code-workspace-copy --skill docx-huivrotiki

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word documents often require collaborative editing with audit trails. This Skill automates DOCX creation, editing, and analysis, preserving tracked changes, comments, and formatting across versions.

Core Features & Use Cases

  • DOCX creation, editing, and redlining with tracked changes
  • Comment management and deterministic OOXML edits
  • Document analysis and structure inspection for Word documents

Quick Start

Create a new Word document from scratch using docx-js and save it as doc.docx.

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 redlining with tracked changes in Python?

Automating Word document redlining with tracked changes is achieved by applying deterministic OOXML edits via Python, automatically inserting RSID, author, and date metadata to track insertions and deletions.

What is OOXML and how does it help with Word document management?

OOXML is the XML-based markup format used by Word documents. Editing OOXML directly allows for deterministic structural modifications, enabling precise document management and tracked changes without losing formatting.

Does this approach to document editing support comment management and structure inspection?

Yes, this approach to document editing supports comment management and structure inspection. It enables deterministic OOXML edits for adding comments and analyzing the internal structure of Word documents.

Can I use Python and lxml to create Word documents from scratch with tracked changes?

Yes, you can use Python and lxml to create Word documents from scratch. The included editor applies OOXML operations to generate documents while automatically tracking insertions, deletions, and comments.

What is the best way to apply author and date metadata for tracked changes in DOCX files?

The best way to apply author and date metadata for tracked changes in DOCX files is through deterministic OOXML editing, which automatically injects RSID, author, and date information into the document structure.