DOCX Creator
A thin, battle-tested layer over the minimax-docx OpenXML engine that produces contract-grade Word files and enforces a PDF→PNG visual verification chain.
Docs & OfficeAdvanced★ 1,323⑂ 212AI score 9/10Last updated: Aug 8, 2026
What it does
- Ships a verified C# OpenXML generator (
scripts/Program.cs) that turns markdown into a properly formatted .docx. - Locks down the formatting mistakes OpenXML lets you make: layered alignment (centered title, left-aligned clause headings, left-aligned party-info and signature blocks, justified body prose), per-list numbering restart via separate
NumId+LevelOverride, CJK fonts set in all three run-font slots, A4 page setup with a centeredPAGEfooter field, and all six table borders. - Enforces a real verification chain: generate → XSD validate →
soffice --headless --convert-to pdf→pdftoppm -png→ read every page image, with macOSqlmanagethumbnails explicitly banned as proof. - Includes a routing table (when the minimax-docx CLI suffices vs. when you must drop to C#) and an ISSUE-001…011 known-issues log with symptom, root cause, fix and verification.
Who it's for
- Anyone automating format-critical Word deliverables: contracts, agreements, offer letters, employment contracts, official notices.
- Teams working with Chinese/CJK typography who have been burned by font fallback and stretched character spacing.
- Developers with .NET SDK, LibreOffice and the minimax-docx plugin already available.
Example uses
- "Turn this markdown draft into a Word contract with Party A/Party B info blocks and a signature block" — then inspect each rendered PNG page to confirm the info blocks aren't stretched.
- Build a multi-clause internal policy doc where every numbered list restarts at 1 instead of continuing across clauses.
- Produce a quotation with tables and guarantee the cell rules print by applying the full six-border rule.
If the deliverable is a PDF, use
daymade-docs:pdf-creatorinstead.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/daymade-docs/docx-creator/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the daymade-docs/docx-creator folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/docx-creator/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-docs/docx-creator ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/daymade/claude-code-skills.git - Copy the skill into your skills folder:
mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-docs/docx-creator ~/.claude/skills/ - Install the prerequisites: .NET SDK (check with
dotnet --version), LibreOffice (soffice), and Poppler (pdftoppm). On macOS:brew install --cask libreoffice && brew install poppler. - Install the engine skill
minimax-skills:minimax-docx(usually at~/.claude/plugins/marketplaces/minimax-skills/skills/minimax-docx/). - Restart Claude Code, then ask something like "generate a Word contract from this markdown" to trigger the skill.
- The first run takes ~20s to restore NuGet packages. Always review the generated per-page PNGs before delivering the document.
View source on GitHub ↗License: MIT