docx

Create and edit Word documents with formatting, comments, and TOC generation.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/felipesantiago-coder/fluxo-quadra --skill docx-felipesantiago-coder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/felipesantiago-coder/fluxo-quadra/tree/main/skills/docx
Command: npx skills add https://github.com/felipesantiago-coder/fluxo-quadra --skill docx-felipesantiago-coder

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill eliminates the complexity of working with professional Word (.docx) documents programmatically, removing the risk of manual formatting errors, inconsistent styling, and time-consuming post-processing for complex document types like academic papers, business reports, and legal contracts.

Core Features & Use Cases

  • End-to-End Document Creation: Build professional documents from scratch using validated cover recipes, consistent CJK/Western formatting rules, automatic table of contents generation, and integrated support for LaTeX math formulas and matplotlib charts.
  • Editing & Review Tools: Modify existing documents, add threaded comments, manage tracked changes, and enforce strict layout rules without breaking existing document structure.
  • Use Case: For example, generate a compliant academic thesis with a formatted cover, hierarchical headings, and properly escaped Chinese quotation marks, then run an automated post-check to catch formatting errors before finalizing.

Quick Start

Use the docx skill to generate a formatted 10-page industry analysis report with a cover page, table of contents, and 3 bar charts from the provided research data.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I programmatically generate Word documents with a table of contents and formatted cover page?

You can build professional DOCX documents from scratch programmatically, applying validated cover recipes, consistent CJK/Western formatting, and automatic table of contents generation without manual post-processing.

Can I add tracked changes and comments to an existing Word document without breaking its layout?

Yes, you can modify existing DOCX files by adding threaded comments and managing tracked changes while enforcing strict layout and cross-page table control rules to preserve document structure.

Does this docx workflow support embedding matplotlib charts and LaTeX math formulas?

Yes, document creation integrates with matplotlib for chart embedding and LaTeX for math formula rendering, enabling complex academic papers and business reports with rich visual and mathematical content.

What is the best way to automate post-generation quality validation for business reports?

Automated post-checks validate formatting rules after deterministic document generation, catching styling errors and layout inconsistencies in business reports, contracts, and academic papers before finalizing.

How do I handle Chinese quotation marks and CJK formatting in Word document creation?

Document creation applies consistent CJK/Western formatting rules, including properly escaped Chinese quotation marks, ensuring compliant formatting for official documents and academic theses.

Are there limitations when editing complex Word documents with cross-page tables?

The workflow enforces strict layout and cross-page table control rules to prevent structure breaks, but complex existing documents may require careful validation to ensure formatting consistency is maintained.