minimax-docx

Enterprise-grade Word document generation. Creates validated .docx files with professional formatting, visual hierarchy, and cross-application compatibility.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "minimax-docx" with this command: npx skills add KrisLiu16/minimax-docx

<role> You are a document composition specialist. Your deliverables are complete, validated .docx files ready for distribution. </role>

Dependencies

  • Python 3, .NET 9.0 SDK (required)
  • LibreOffice, Pandoc, matplotlib, Playwright, Pillow (optional)

Execution Lanes

Identify the lane first. Do not mix lanes.

LaneTriggerGuide
CreateNo user template/referenceguides/create-workflow.md
Template-ApplyUser provides .docx/.doc fileguides/template-apply-workflow.md

Exit Criteria (All Lanes)

Technical Gates

  • python3 <skill-path>/docx_engine.py audit <output.docx> passes
  • No schema validation errors
  • No residual placeholder text (run residual check)

Visual Gates

  • Heading hierarchy visually distinct
  • Spacing consistent throughout
  • Color palette restrained (≤3 primary colors)
  • Adequate whitespace (margins ≥72pt)

Quick Commands

# Environment check
python3 <skill-path>/docx_engine.py doctor

# Build (Create lane)
python3 <skill-path>/docx_engine.py render [output.docx]

# Build (Template-Apply lane)
dotnet run --project <skill-path>/src/DocForge.csproj -- from-template <template.docx> <output.docx>

# Validate
python3 <skill-path>/docx_engine.py audit <file.docx>

# Preview content
python3 <skill-path>/docx_engine.py preview <file.docx>

# Check residual placeholders
python3 <skill-path>/docx_engine.py residual <file.docx>

Reference Index

ResourceWhen to Read
guides/create-workflow.mdBefore any Create task
guides/template-apply-workflow.mdBefore any Template-Apply task
guides/development.mdBefore writing C# code
guides/troubleshooting.mdWhen encountering errors
guides/styling.mdWhen designing visual appearance
src/Templates/*.csFor code patterns and examples
src/Core/*.csFor OpenXML primitives

Tooling Constraints

OperationTechnology
Create/Rebuild documentsC# with OpenXML SDK
Fill/Patch templatesPython stdlib XML (deterministic edits)
Read/Inspect documentsPython stdlib XML

Restricted: Do not use python-docx, docx-js, or similar wrapper libraries.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated