Awesome-omni-skill render
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".
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data-ai/render" ~/.claude/skills/diegosouzapw-awesome-omni-skill-render && rm -rf "$T"
manifest:
skills/data-ai/render/SKILL.mdsource content
Render mermaid diagrams from
.mmd source files to ASCII (injected into local markdown) and SVG (uploaded to Craft.do docs).
Workflow
- Edit the
source file with.mmd
markers between diagrams%% diagram:NAME - Run
to regenerate ASCII in the correspondingcraft render file.mmd --local-only
file.md - Run
to also upload SVGs to a Craft documentcraft render file.mmd --doc DOC_ID
The
.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.
Commands
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.
-- regenerate ASCII in the .md file onlyrender <file.mmd> --local-only
-- also upload SVGs to a Craft documentrender <file.mmd> --doc DOC_ID
-- color theme (default: catppuccin-mocha). Available: zinc-dark, tokyo-night, catppuccin-mocha, nord, dracula, github-light, github-dark, solarized-light, solarized-dark, one-darkrender <file.mmd> --theme NAME
Dependencies
Requires node 24+ and npm install in the plugin directory.