minimax-docx

Create, edit, and format DOCX files using the OpenXML SDK.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/dz07/goku-skills --skill minimax-docx-dz07
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minimax-docx
Source: https://github.com/dz07/goku-skills/tree/main/skills/yh-minimax-docx
Command: npx skills add https://github.com/dz07/goku-skills --skill minimax-docx-dz07

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The minimax-docx skill automates the end-to-end creation, editing, and formatting of DOCX documents using the OpenXML SDK, eliminating manual, error-prone Word edits.

Core Features & Use Cases

  • Create new DOCX files from scratch or templates via CLI or C# scripts with robust OpenXML patterns.
  • Edit and reshape existing documents while preserving structure, styles, and relationships (headers/footers, multi-section layouts, tables).
  • Apply consistent typography and layout templates across projects, guided by sample recipes and scenario workflows.

Quick Start

Use the minimax-docx workflow to create, edit, and format a DOCX using the CLI or C# scripts.

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 with OpenXML in C#?

Automate DOCX creation by running CLI commands or C# scripts that use OpenXML SDK patterns to generate Word documents. This approach applies deterministic styling rules and enforces element ordering, eliminating manual Word edits and preventing structural errors.

Can I edit existing Word documents while preserving headers, footers, and multi-section layouts?

Edit existing Word documents while preserving their structure, styles, and relationships including headers, footers, and multi-section layouts. The process reshapes document content using OpenXML best practices to maintain formatting integrity across tables and multi-section configurations.

Do I need dotnet-sdk and LibreOffice to generate Word documents via CLI?

You need dotnet-sdk to run the C# scripts and OpenXML SDK operations for DOCX generation. LibreOffice, pandoc, zip, and unzip are also required dependencies to support the document processing and conversion workflows.

What's the best way to apply consistent typography templates across multiple Word documents?

Apply consistent typography and layout templates across projects by using guided sample recipes and scenario workflows. This standardizes document formatting through deterministic styling rules enforced by OpenXML validation and style mapping.

Why does my OpenXML DOCX file have style mapping or element ordering issues?

OpenXML DOCX files encounter style mapping and element ordering issues when documents are edited manually without following schema validation. Applying OpenXML best practices ensures correct element ordering, style mapping, and validation to prevent structural corruption.