minimax-docx
Professional DOCX document creation and editing using OpenXML SDK
Developer Setup
Setup & Installation
npx skills add https://github.com/MiniMax-AI/skills --skill minimax-docxnpx skills add https://github.com/MiniMax-AI/skills --skill minimax-docxOverview
What This Skill Does
Professional DOCX document creation and editing using OpenXML SDK
Application
When to use this Skill
- Integrating minimax docx into your development workflow.
- Following best practices for professional docx document creation and editing using openxml sdk.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
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());
// --- Your logic here ---
// Read the relevant Samples/*.cs file FIRST for tested patterns.
// See Samples/ table in References section below.
Recommendations
Explore other random skills
mongodb-query-optimizer
Analyze and optimize query performance using Atlas Performance Advisor
mongodb-search-and-ai
Implement Atlas Search and AI-powered recommendations with vector search
cloudflare-deploy
Deploy apps to Cloudflare using Workers, Pages, and platform services