minimax-docx

Automate OpenXML DOCX creation, editing, templating, and validation workflows.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/Glour/ai-office-v2 --skill minimax-docx-glour
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-docx
Source: https://github.com/Glour/ai-office-v2/tree/main/skills/minimax-docx
Command: npx skills add https://github.com/Glour/ai-office-v2 --skill minimax-docx-glour

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotnet, pandoc, soffice, zip, unzip, and includes scripts (resource) and references (resource) components.

What problem does it solve?

minimax-docx provides a structured, automated workflow to generate, edit, apply templates to, and validate Word documents in OpenXML format (.docx). It addresses the complexity of maintaining consistent styles, sectioning, and formatting across multi-section documents.

Core Features & Use Cases

  • Create from scratch or apply template formatting to existing DOCX files.
  • Enforce OpenXML element order, style mappings, and multi-section headers/footers.
  • Validate against XSD and gate checks; support preview/diff and template overlays.

Quick Start

Load a source DOCX, apply a template with minimax-docx, and run the validation pipeline to produce a production-ready document.

Frequently Asked Questions about minimax-docx

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

FAQPage Schema
How do I automate DOCX creation and apply template formatting to existing Word documents?

To automate DOCX creation and apply template formatting, load a source file and use a template-based formatting pipeline to enforce OpenXML element order and style mappings. This process generates production-ready Word documents with consistent multi-section structures and per-section headers or footers.

How does OpenXML validation work for multi-section Word documents?

OpenXML validation for multi-section Word documents works by checking XML structure against XSDs and business rules. It enforces strict element order and style mapping while running gate checks, ensuring that headers, footers, and sections comply with production-grade formatting standards.

What dependencies do I need to automate document processing and validate OpenXML files?

To automate document processing and validate OpenXML files, you need dotnet, pandoc, soffice, zip, and unzip installed. These dependencies support end-to-end DOCX workflows, enabling creation from scratch, template application, and structural validation.

Can I preview and diff DOCX files before generating production-grade outputs?

Yes, you can preview and diff DOCX files before generating production-grade outputs. The workflow supports template overlays and structural comparisons, allowing you to verify formatting, sectioning, and style mapping against business rules before finalizing the document.

Why does my Word document fail validation after applying an OpenXML template?

Word document validation fails after applying an OpenXML template when strict element order, style mappings, or multi-section headers and footers are violated. The validation pipeline catches these structural inconsistencies by checking the XML against XSDs and business rule gate checks.

What's the best way to enforce consistent styling across multiple sections in a Word document?

The best way to enforce consistent styling across multiple sections in a Word document is to apply template-based formatting with strict OpenXML style mapping. This ensures per-section headers, footers, and element order are validated against XSDs, producing uniform formatting.