docx

Automate DOCX creation, editing, and review with tracked changes and comments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

DOCX document workflows often require manual creation, formatting preservation, and careful tracking of edits and comments. This Skill provides automated tooling to streamline the end-to-end process for .docx documents.

Core Features & Use Cases

  • Create new documents with precise formatting using templates.
  • Edit existing documents with tracked changes, add comments, and preserve styles and layout.
  • Review and consolidate revision history for collaborative projects, ensuring consistency across versions.

Quick Start

Create a new DOCX with tracked changes and comments from a template and generate a formatted report.

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

Automate Word document editing by using scripts to apply tracked changes, insert comments, and modify content while preserving the original DOCX formatting, styles, and layout across templates.

What is the best way to generate a formatted Word document from a template automatically?

The best way to generate a formatted Word document is by using automated tooling to create new DOCX files from predefined templates, ensuring precise formatting and consistent style preservation.

Can I use Python to review and consolidate revision history in a DOCX file?

Yes, you can use Python scripts to review and consolidate revision history in a DOCX file, ensuring consistency across collaborative versions and auditing tracked changes programmatically.

Does this DOCX automation tool require specific XML libraries to handle document unpacking and validation?

Yes, this DOCX automation tool requires the lxml and defusedxml libraries to unpack, validate, and securely parse the underlying XML structures during document repair and processing workflows.

Why does my DOCX formatting break when applying automated edits to an existing template?

DOCX formatting breaks during automated edits when underlying XML structures are incorrectly modified, which is why this tool includes validation and repair workflows to preserve styles and layout.

What are the limitations of using lxml for modifying complex Word documents?

Using lxml for modifying complex Word documents requires careful handling of internal XML schemas, as direct manipulation without validation workflows can corrupt document integrity or lose tracked changes.