ahundt/autorun/mermaid-diagrams
Claude Code and agent skill by ahundt/autorun
- community
Checking that the SKILL.md file is still in the repository.
Render Mermaid diagrams to SVG using beautiful-mermaid and bun. Use when the user asks to "render mermaid", "generate diagram", "create flowchart", "update diagrams", "render SVG from mermaid", "beautiful-mermaid", "regenerate diagrams", or needs to convert Mermaid diagram syntax into styled SVG files. Supports all Mermaid diagram types with 15 themes including tokyo-night.
Install
npx vskill@latest install ahundt/autorun/mermaid-diagramsSKILL.md
Mermaid Diagram Rendering with beautiful-mermaid
<purpose>
Render Mermaid .mmd files into styled SVG using beautiful-mermaid v1.0.2 and bun.
Skill Contents
| File | Purpose | |
|---|---|---|
render-mermaid.ts | CLI tool: renders .mmd files to SVG | |
gemini-diagram-prompt.md | Prompt for Gemini image generation |
</purpose>
<setup>
Installation
Only bun is required. The beautiful-mermaid dependency is auto-installed by bun on first run.
</setup>
<reference>
CLI Reference
Output defaults: Without -o or --outdir, writes <name>.svg next to each input file (-d is swallowed by bun run; use --outdir).
Shorthand: Set MERMAID=plugins/autorun/skills/mermaid-diagrams/render-mermaid.ts for shorter commands.
</reference>
<examples>
Examples
Project Diagrams
Mermaid source files (.mmd) and rendered output (.svg) in docs/diagrams/, plus one source at the repository root:
| Source | Description | |
|---|---|---|
docs/diagrams/autofile-policy.mmd | AutoFile policy flowchart | |
docs/diagrams/three-stage-autorun.mmd | Three-stage autorun flowchart | |
autorun-architecture.mmd | Full architecture (too complex for beautiful-mermaid) |
Regenerate:
</examples>
<limitations>
Known Limitations
- Complex diagrams with deeply nested subgraphs may hit dagre layout bugs. Failed diagrams are reported but don't block other renders.
%%{init:...}%%front matter is stripped automatically (beautiful-mermaid applies its own theming).
</limitations>
<image_generation>
Gemini Image Generation
gemini-diagram-prompt.md contains a prompt for Gemini to generate an outcome-focused project overview image. Copy the prompt into a Gemini conversation.
</image_generation>
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/autorun/skills/mermaid-diagrams/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ahundt/autorun/mermaid-diagrams)