Minimax Docx
by @krisliu16
Enterprise-grade Word document generation. Creates validated .docx files with professional formatting, visual hierarchy, and cross-application compatibility.
clawhub install minimax-docxπ About This Skill
name: minimax-docx description: "Enterprise-grade Word document generation. Creates validated .docx files with professional formatting, visual hierarchy, and cross-application compatibility."
Dependencies
Execution Lanes
Identify the lane first. Do not mix lanes.
| Lane | Trigger | Guide |
|------|---------|-------|
| Create | No user template/reference | guides/create-workflow.md |
| Template-Apply | User provides .docx/.doc file | guides/template-apply-workflow.md |
Exit Criteria (All Lanes)
Technical Gates
python3 /docx_engine.py audit passesresidual check)Visual Gates
Quick Commands
# Environment check
python3 /docx_engine.py doctorBuild (Create lane)
python3 /docx_engine.py render [output.docx]Build (Template-Apply lane)
dotnet run --project /src/DocForge.csproj -- from-template Validate
python3 /docx_engine.py audit Preview content
python3 /docx_engine.py preview Check residual placeholders
python3 /docx_engine.py residual
Reference Index
| Resource | When to Read |
|----------|--------------|
| guides/create-workflow.md | Before any Create task |
| guides/template-apply-workflow.md | Before any Template-Apply task |
| guides/development.md | Before writing C# code |
| guides/troubleshooting.md | When encountering errors |
| guides/styling.md | When designing visual appearance |
| src/Templates/*.cs | For code patterns and examples |
| src/Core/*.cs | For OpenXML primitives |
Tooling Constraints
| Operation | Technology | |-----------|------------| | Create/Rebuild documents | C# with OpenXML SDK | | Fill/Patch templates | Python stdlib XML (deterministic edits) | | Read/Inspect documents | Python stdlib XML |
Restricted: Do not use python-docx, docx-js, or similar wrapper libraries.