smithery.ai

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".

First seen Mar 25, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version0.3.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,432 B
  • docs SUMMARY.md 205 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Render mermaid diagrams from .mmd source files to ASCII (injected into local markdown) and SVG (uploaded to Craft.do docs).

Workflow

  1. Edit the .mmd source file with %% diagram:NAME markers between diagrams
  2. Run craft render file.mmd --local-only to regenerate ASCII in the corresponding .md file
  3. Run craft render file.mmd --doc DOC_ID to also upload SVGs to a Craft document

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: ${CLAUDEPLUGINROOT}/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 only
  • render <file.mmd> --doc DOC_ID -- also upload SVGs to a Craft document
  • render <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-dark

Dependencies

Requires node 24+ and npm install in the plugin directory.