minimax-docx

Automate DOCX creation, formatting, and validation using OpenXML templates.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/shiro123444/Minmaxskills --skill minimax-docx-shiro123444
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-docx
Source: https://github.com/shiro123444/Minmaxskills/tree/main/skills/minimax-docx
Command: npx skills add https://github.com/shiro123444/Minmaxskills --skill minimax-docx-shiro123444

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Minimizes the manual, error-prone work of creating, formatting, and validating DOCX documents by providing a comprehensive OpenXML-based workflow for document generation, styling, and template application.

Core Features & Use Cases

  • Template-driven DOCX generation: build new documents from content inputs and a styling/template layer, ensuring consistent visuals and structure.
  • OpenXML-based editing & validation: manipulate paragraphs, tables, headers/footers, sections, and styles while validating against OpenXML schemas and domain-specific XSDs.
  • End-to-end template application workflows: support for overlay vs base-replace strategies, multi-section templates, and complex header/footer transfers without data loss.
  • Preview, diff, and governance tooling: provide previews, content diffs, and gate checks to guarantee content integrity and formatting compliance.

Real-world scenario: create a standardized research report by feeding content blocks into a template, apply consistent typography and margins, then validate the final document against institutional templates and design principles.

Quick Start

Run a creation flow that builds a DOCX from content, applies a template, and saves the result.

<!-- NOTE: This is a single sentence per requirement -->

Quick Start

Run a creation flow that builds a DOCX from content, applies a template, and saves the result.

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 document creation from templates using OpenXML?

Automate DOCX document creation by feeding content blocks into an OpenXML template layer to apply consistent typography, margins, and styles. This template-driven generation minimizes manual formatting errors for professional reports and proposals.

What is the best way to validate a Word document against OpenXML schemas?

Validate Word documents by checking paragraphs, tables, headers, footers, and styles against OpenXML schemas and domain-specific XSDs. This validation workflow guarantees content integrity and formatting compliance for institutional templates.

Do I need LibreOffice and pandoc to generate Word documents with this workflow?

You need LibreOffice, pandoc, dotnet, and zip utilities configured in your environment to execute the OpenXML document generation, formatting, and validation scripts. These dependencies support the underlying document processing and conversion tasks.

Can I preview content diffs before applying a template to a DOCX file?

You can preview content diffs and run gate checks before applying templates to a DOCX file. This governance tooling verifies content integrity and formatting compliance, ensuring the final document meets design principles.

Why does my DOCX template lose formatting when replacing headers and footers?

Formatting loss during header and footer replacement often occurs without proper multi-section template application strategies. Using overlay or base-replace workflows ensures complex header and footer transfers without data loss.