minimax-docx

Create, edit, and format DOCX documents with the OpenXML SDK.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/HellKaiser45/Podlet --skill minimax-docx-hellkaiser45
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-docx
Source: https://github.com/HellKaiser45/Podlet/tree/main/.podlet/skills/minimax-docx
Command: npx skills add https://github.com/HellKaiser45/Podlet --skill minimax-docx-hellkaiser45

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The minimax-docx Skill standardizes and accelerates DOCX workflows by enabling automated creation, editing, and formatting of Word documents through the OpenXML SDK (.NET). It orchestrates end-to-end tasks across three pipelines: A) create from scratch, B) fill/edit existing content, and C) apply templates with validation against XSD and business rules.

Core Features & Use Cases

  • Create from scratch: scaffold a DOCX with styles, headers/footers, and templates.
  • Fill, edit, and validate: update placeholders, adjust structure, and ensure XML ordering per OpenXML principles.
  • Template-driven formatting: apply a brand/template layer with consistency checks, including page setup and style mapping.
  • Use Case: generate a formal report by merging content with a template, then validate against XSD and gate rules before delivery.

Quick Start

Provide your content and request a complete DOCX generated with the three pipelines (create, fill, apply template) and verify it against the template and XSD rules.

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 formatting using OpenXML?

Automating DOCX creation and formatting with OpenXML involves using the SDK to scaffold documents from scratch, applying styles, headers, footers, and templates. The skill orchestrates this through three pipelines: creating, filling, and applying templates with validation.

What's the best way to fill content in existing Word documents programmatically?

Filling content in existing Word documents programmatically is handled by updating placeholders and adjusting structure. The process ensures correct OpenXML element ordering, manages docDefaults, styles, and numbering, and validates updates against XSD and business rules.

Do I need .NET to use OpenXML SDK for Word document automation?

Yes, you need .NET to use the OpenXML SDK for Word document automation, as the SDK is built for the .NET ecosystem. The environment also requires dependencies like pandoc, soffice, zip, and unzip to manage document conversion and OpenXML package extraction.

Can I apply template-driven formatting to DOCX files with validation checks?

Applying template-driven formatting to DOCX files with validation checks is fully supported. It applies a brand or template layer with consistency checks, mapping page setup and styles, followed by XSD or business-rule gate checks before final delivery.

Why does OpenXML element ordering matter when editing DOCX files?

OpenXML element ordering matters because incorrect sequence breaks document structure and readability. The skill ensures proper XML ordering per OpenXML principles during editing, managing elements like docDefaults, styles, numbering, and header/footer configurations to prevent corruption.