From craft
Render mermaid diagrams from .mmd files to ASCII and SVG for Craft.do. Use when the user asks to "render a mermaid diagram", "update diagrams in Craft", or "regenerate ASCII from .mmd files".
How this skill is triggered — by the user, by Claude, or both
Slash command
/craft:renderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Render mermaid diagrams from `.mmd` source files to ASCII (injected into local markdown) and SVG (uploaded to Craft.do docs).
Render mermaid diagrams from .mmd source files to ASCII (injected into local markdown) and SVG (uploaded to Craft.do docs).
.mmd source file with %% diagram:NAME markers between diagramscraft render file.mmd --local-only to regenerate ASCII in the corresponding .md filecraft render file.mmd --doc DOC_ID to also upload SVGs to a Craft documentThe .md file uses <!-- mermaid:NAME --> markers as injection points. ASCII content between a marker and the next marker or heading is replaced on each render.
The craft binary is at: ${CLAUDE_PLUGIN_ROOT}/bin/craft
Always use this full path when running craft via Bash. Do not assume craft is on PATH.
render <file.mmd> --local-only -- regenerate ASCII in the .md file onlyrender <file.mmd> --doc DOC_ID -- also upload SVGs to a Craft documentrender <file.mmd> --theme NAME -- color theme (default: catppuccin-mocha). Available: zinc-dark, tokyo-night, catppuccin-mocha, nord, dracula, github-light, github-dark, solarized-light, solarized-dark, one-darkRequires node 24+ and npm install in the plugin directory.
npx claudepluginhub gustin/craft-cli --plugin craftRenders Mermaid diagrams from .mmd files or .md files with Mermaid blocks to SVG images using beautiful-mermaid. Supports themes, configs, batch directories, and extraction.
Renders Mermaid diagrams from .mmd files to styled SVG using beautiful-mermaid and bun CLI. Supports all diagram types with 15 themes including tokyo-night. For render/generate diagram requests.
Renders .d2 diagram files or extracts D2 code blocks from Markdown to SVG/PNG images in configurable output directory.