
Minimax Docx
If you need to generate Word documents programmatically, this wraps the OpenXML SDK with three clear pipelines: create from scratch, edit existing content, or apply template formatting. The C# path is the real strength here for anything structural (tables, multi-section layouts, TOC). CLI shortcuts exist for simple text replacement and placeholder filling. What's notable is the mandatory XSD validation gate-check for template operations, which catches ordering violations before Word chokes on the file. Includes tested samples for common patterns and specific typography guides for CJK documents. The diff tooling helps verify you only changed what you meant to change. Opinionated about element ordering because OpenXML will silently corrupt otherwise.
- skills.sh installs
- 4.6K
- GitHub stars
- 13.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add minimax-ai/skills --skill minimax-docx --agent claude-codeInstalls into .claude/skills of the current project.
Files
minimax-docx
Create, edit, and format DOCX documents via CLI tools or direct C# scripts built on OpenXML SDK (.NET).
Setup
First time: bash scripts/setup.sh (or powershell scripts/setup.ps1 on Windows, --minimal to skip optional deps).
First operation in session: scripts/env_check.sh — do not proceed if NOT READY. (Skip on subsequent operations within the same session.)
Quick Start: Direct C# Path
When the task requires structural document manipulation (custom styles, complex tables, multi-section layouts, headers/footers, TOC, images), write C# directly instead of wrestling with CLI limitations. Use this scaffold:
// File: scripts/dotnet/task.csx (or a new .cs in a Console project)
// dotnet run --project scripts/dotnet/MiniMaxAIDocx.Cli -- run-script task.csx
#r "nuget: DocumentFormat.OpenXml, 3.2.0"
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Wordprocessing;
using var doc = WordprocessingDocument.Create("output.docx", WordprocessingDocumentType.Document);
var mainPart = doc.AddMainDocumentPart();
mainPart.Document = new Document(new Body());
Sponsors
Details
- Repository
- github.com/minimax-ai/skills
- Categories
- Code Review & Quality, Office & Documents, .NET & C#
- First seen
- Apr 16, 2026
More from minimax-ai/skills
All 19- Minimax Pdf3.9K
- Minimax Xlsx3.8K
- Fullstack Dev3.5K
- Frontend Dev3.2K
- Android Native Dev2.7K
- Vision Analysis2.7K
- Shader Dev2.7K
- Ios Application Dev2.2K
- Gif Sticker Maker2.1K
- Flutter Dev2K
- React Native Dev1.9K
- Pr Review1.8K
- Mmx Cli1.7K
- Minimax Music Gen1.6K
- Minimax Music Playlist1.4K
- Buddy Sings1.4K
- Minimax Multimodal Toolkit625
- Pptx Generator6.2K