One-click install
npx skills add https://github.com/zeroix07/mcp-skill-agent --skill docx-zeroix07
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/zeroix07/mcp-skill-agent/tree/main/docx
Command: npx skills add https://github.com/zeroix07/mcp-skill-agent --skill docx-zeroix07

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, defusedxml, lxml, python-docx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Working with .docx files programmatically is notoriously difficult due to complex OOXML specifications, inconsistent rendering between Microsoft Word and WPS Office, and the need for precise formatting control. This Skill eliminates these pain points by providing a complete, production-grade toolkit for creating, editing, and analyzing professional Word documents with tracked changes, comments, and perfect cross-engine compatibility.

Core Features & Use Cases

  • Comprehensive Document Creation: Generate professional .docx files from scratch with full control over layouts, styles, tables, images, and math formulas using the docx-js library.
  • Advanced Editing & Review: Modify existing documents with tracked changes, add comments, and manage revisions through direct OOXML manipulation or python-docx.
  • Scene-Specific Templates: Pre-built workflows for academic theses, contracts, reports, exam papers, official documents, and copywriting scripts with enforced formatting standards.
  • Post-Generation Validation: Automated two-layer verification including a 14-rule Python post-check script that catches blank pages, cover overflow, TOC errors, and cross-engine compatibility issues.

Quick Start

Use the docx skill to generate a complete academic thesis document with cover page, abstract, table of contents, and formatted body chapters following Chinese university standards.

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 generation with tracked changes and cross-engine compatibility?

Automating Word document generation with tracked changes requires precise OOXML control to ensure cross-engine compatibility. This Skill uses docx-js and python-docx to create, edit, and analyze professional .docx files with revision management and enforced formatting standards.

What is the best way to generate an academic thesis with a cover page, TOC, and formatted body chapters?

Generating an academic thesis with a cover page and TOC is best handled through scene-specific templates. This Skill provides pre-built workflows enforcing strict formatting standards, automatically assembling the cover, abstract, table of contents, and formatted body chapters.

Does python-docx support embedding matplotlib charts and converting LaTeX formulas in .docx files?

Python-docx supports embedding matplotlib charts and converting LaTeX formulas when combined with precise OOXML manipulation. This Skill integrates docx-js generation and python-docx manipulation to render complex visual elements and math formulas within Word documents.

Can I validate .docx output to catch blank pages, cover overflow, and cross-engine rendering errors?

Validating .docx output to catch blank pages and cover overflow is achieved through automated two-layer verification. This Skill includes a 14-rule Python post-check script that detects TOC errors, cover overflow, and cross-engine compatibility issues between Microsoft Word and WPS Office.

How do I modify existing Word documents with comments and revision tracking using OOXML?

Modifying existing Word documents with comments and revision tracking requires direct OOXML manipulation. This Skill enables advanced editing and review by managing revisions, adding comments, and modifying existing documents programmatically using python-docx or direct XML control.