Minimax Docx

v1.0.0

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

0· 2.9k·90 current·92 all-time
byKris@krisliu16
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The name/description match the included assets: a Python CLI (docx_engine.py), a C# OpenXML codebase (src/*.cs), rendering helpers, and validation detectors. The workflows and commands in SKILL.md map directly to the provided code. Minor mismatch: SKILL.md and docx_engine.py reference src/DocForge.csproj but that .csproj file was not listed in the manifest, which could cause dotnet invocations to fail at runtime.
Instruction Scope
SKILL.md confines instructions to document creation, template application, validation, and preview operations. It does not instruct reading unrelated system files or exporting data to third‑party endpoints. However, the runtime code (docx_engine.py) can auto-provision .NET by downloading/ running the official dotnet-install script and will call external tools (curl, powershell, soffice, pandoc) if used — network and tool execution are within the expected scope for this skill but broaden the runtime surface.
Install Mechanism
There is no package install spec (lower platform risk), but the Python runtime includes code to download and run official dotnet-install scripts from https://dot.net. Downloading and executing installer scripts is higher-risk than pure local operations, though the URL used is the official dot.net host. There is also a requirements.txt and optional tooling list (Playwright, LibreOffice, Pandoc); installation of those is left to the user.
Credentials
The skill requests no secrets or service credentials. It uses PROJECT_HOME (optional) and will create output/staging directories under the user's workspace and may write into ~/.dotnet when provisioning .NET. That file- and directory-level access is proportionate to building and validating documents but is invasive to the user's home directory.
Persistence & Privilege
The skill is not 'always: true' and is user-invocable. It does not modify other skills or system agent settings. It will create workspace and output directories in the user's PROJECT_HOME (or CWD) and may install or remove a ~/.dotnet installation when provisioning — this is expected for a tool that depends on the .NET SDK but is a persistent filesystem impact to be aware of.
Assessment
This package appears to be what it says: a document generation and validation tool built with Python and C# OpenXML code. Before running it: 1) Verify that the referenced C# project file (src/DocForge.csproj) exists — some docs reference it but it wasn't listed in the manifest and dotnet commands will fail if missing. 2) Expect the tool to call external programs (curl/powershell, soffice, pandoc) and to download and execute the official dotnet-install script to provision .NET into your home directory (~/.dotnet). If you are uncomfortable with that, run the code in an isolated/sandboxed environment, set PROJECT_HOME to an empty test directory, and review docx_engine.py (guarantee_dotnet/provision_dotnet) before allowing network access. 3) The skill does not request secrets, but it will create .docx outputs under PROJECT_HOME/output and staging files under .docx_workspace; ensure those paths and file writes are acceptable. If you need higher assurance, open and inspect the repo (especially docx_engine.py and any installer invocation) or run python3 <skill-path>/docx_engine.py doctor first to see required tooling and actions.

Like a lobster shell, security has layers — review code before you run it.

latestvk9701h6tqxe69vrjwvpz72jc1x82ea74
2.9kdownloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0
<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.

Comments

Loading comments...