minimax-docx
适合需严格格式与验证门控的企业级文档生成流程。
需运行安装脚本并安装 .NET 环境与外部依赖。
用 OpenXML SDK 在 CLI 或 C# 脚本中生成、填充与格式化 DOCX 文档。
用 OpenXML SDK 在 CLI 或 C# 脚本里生成、填充和格式化 Word 文档,能从空白建档、把内容填进模板或把现有 .docx 批量套样式。适合写报告、合同、表单填充或把文档统一成公司模版时用。特点是走 .docx 原生路线、支持 XSD 验证,能保证输出可打印且格式一致。
▸ 展开 SKILL.md 英文原文
Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill/edit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say "write a report", "draft a proposal", "make a contract", "fill in this form", "reformat to match this template", or any task whose final output is a .docx file. Even if the user doesn't mention "docx" explicitly, if the task implies a printable/formal document, use this skill.
帮我安装这个 skill:https://raw.githubusercontent.com/mxyhi/ok-skills/main/minimax-docx/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/mxyhi/ok-skills/main/minimax-docx/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: ```csharp // File: scripts/dotnet/task.csx