docx

Create and edit .docx files with tracked changes and comments.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/vuminhieu/spexor-client --skill docx-vuminhieu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/vuminhieu/spexor-client/tree/main/.agent/skills/skills/document-skills/docx
Command: npx skills add https://github.com/vuminhieu/spexor-client --skill docx-vuminhieu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables reliable creation, edition, and review of professional Word documents (.docx) with tracked changes, comments, and careful formatting preservation, reducing manual friction in documentation workflows.

Core Features & Use Cases

  • Tracked changes & comments: manage insertions and deletions with author metadata and date stamps, preserving revision history.
  • Document structure preservation: maintain formatting, styles, and layout during automated edits, redlines, and comments.
  • Use Case: Legal drafts, product specifications, and collaborative reports benefit from automated editing, redlining, and annotation while exporting valid Word documents.

Quick Start

Use the docx skill to create a new Word document and apply a simple tracked change example, or load an existing .docx file for editing and review.

Frequently Asked Questions about docx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply tracked changes and comments to a Word document programmatically?

Yes, you can create a new .docx file or load an existing one to apply insertions, deletions, and annotations. The skill handles document structure preservation while adding redlines and exporting valid Word files.

Can I edit a .docx file and preserve its original formatting and styles?

Yes, you can edit a .docx file while preserving its original formatting, styles, and layout. The skill relies on a Python OOXML toolkit and defusedxml to perform safe, scripted document manipulation without breaking existing structures.

Does this tool support collaborative redlining for legal drafts and corporate documents?

Yes, this tool supports collaborative redlining for legal drafts, product specifications, and corporate documents. It manages insertions, deletions, and annotations while exporting valid Word documents with full revision history.

What is the best way to automate Word document editing with revision history?

The best way to automate Word document editing with revision history is to use a scripted OOXML workflow. This approach applies tracked changes and comments with author metadata and date stamps while carefully preserving the document's layout.

Do I need defusedxml to safely manipulate OOXML files?

Yes, defusedxml is required to safely manipulate OOXML files. It provides secure XML parsing during scripted document editing, ensuring that automated redlines and annotations are applied without exposing the workflow to XML vulnerabilities.