By imxv
Generate and format Mermaid diagrams as SVG or ASCII art with 15+ themes for flowcharts, sequence, state, class, and ER diagrams, suitable for documentation and terminal output.

Render Mermaid diagrams as beautiful SVGs or ASCII art
Ultra-fast, fully themeable, zero DOM dependencies. Built for the AI era.
English | 中文
A Mermaid diagram rendering skill for AI, supporting both SVG and ASCII output formats to make your documentation more vivid.
| Light Themes | Dark Themes | Other |
|---|---|---|
| zinc-light | zinc-dark | nord |
| tokyo-night-light | tokyo-night | nord-light |
| cappuccin-latte | tokyo-night-storm | dracula |
| github-light | cappuccin-mocha | one-dark |
| solarized-light | github-dark | |
| solarized-dark |
Seamlessly integrates with the following AI coding environments:
npx skills add https://github.com/imxv/pretty-mermaid-skills --skill pretty-mermaid
cd Pretty-mermaid
node scripts/themes.mjs
Note: Dependencies will be auto-installed on first run. Just ensure Node.js is available.
node scripts/themes.mjs
node scripts/render.mjs \
--input diagram.mmd \
--output output.svg \
--theme tokyo-night
node scripts/batch.mjs \
--input-dir ./diagrams \
--output-dir ./output \
--theme dracula
Check the 5 template files in assets/example_diagrams/:
flowchart.mmd - Flowchartsequence.mmd - Sequence Diagramstate.mmd - State Diagramclass.mmd - Class Diagramer.mmd - ER DiagramSee SKILL.md for detailed usage guide.
MIT License
Based on beautiful-mermaid
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub imxv/pretty-mermaid-skillsGenerate, validate, render Mermaid diagrams from text or code
MCP server for previewing Mermaid diagrams in Claude Code
Generate professional draw.io diagrams from natural language — flowcharts, architecture diagrams, comparisons, and more.
Diagram generation for Claude Code via UML-MCP (PlantUML, Mermaid, D2, Graphviz, and more) over HTTP MCP.
Converts bullet steps, ASCII art, markdown tables, and prose workflows into Mermaid diagrams for AI-facing documents. Includes process quality methodology for improving ambiguous or incomplete processes before conversion.
Excalidraw diagramming toolkit — auto-diagram any codebase, architecture diagrams, data flows, with PNG/SVG/URL export