minimax-docx

Installation
SKILL.md

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: task.csx — run with: dotnet script task.csx
// dotnet-script 2.x parses top-level `using var` as a using directive, so
// declare the document with an explicit type and dispose it explicitly.
#r "nuget: DocumentFormat.OpenXml, 3.2.0"
Installs
1
GitHub Stars
2
First Seen
2 days ago
Security Audits