
Beautiful Mermaid
Renders Mermaid diagrams to SVG and 4K PNG using the Beautiful Mermaid library with selectable themes.
- skills.sh installs
- 1.9K
- GitHub stars
- 304
- last updated
- Aug 21, 2026
What it does
- Covers flowcharts, sequence, state, class, and entity-relationship diagrams, with a default theme when none is specified
- Includes
render.tsfor SVG output,create-html.tsfor a screenshot wrapper, and a PNG capture step via agent-browser - Enforces cleanup of intermediary HTML and temporary
.mmdfiles so only the final.svgand.pngremain - Designed for requests to render a Mermaid diagram that need both a vector file and a high-resolution image
Install
$ npx -y skills add intellectronica/agent-skills --skill beautiful-mermaid -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Beautiful Mermaid Diagram Rendering
Render Mermaid diagrams as SVG and PNG images using the Beautiful Mermaid library.
Dependencies
This skill requires the agent-browser skill for PNG rendering. Load it before proceeding with PNG capture.
Supported Diagram Types
- Flowchart - Process flows, decision trees, CI/CD pipelines
- Sequence - API calls, OAuth flows, database transactions
- State - State machines, connection lifecycles
- Class - UML class diagrams, design patterns
- Entity-Relationship - Database schemas, data models
Available Themes
Default, Dracula, Solarized, Zinc Dark, Tokyo Night, Tokyo Night Storm, Tokyo Night Light, Catppuccin Latte, Nord, Nord Light, GitHub Dark, GitHub Light, One Dark.
If no theme is specified, use default.
Common Syntax Patterns
Flowchart Edge Labels
Use pipe syntax for edge labels:
A -->|label| B
A ---|label| B
Avoid space-dash syntax which can cause incomplete renders:
A -- label --> B # May cause issues
Node Labels with Special Characters
Wrap labels containing special characters in quotes:
Details
- Repository
- github.com/intellectronica/agent-skills
- Categories
- Technical Documentation, Design & UI/UX
More from intellectronica/agent-skills
All 22- Markdown Converter1.7K
- Todoist Api1.7K
- Anki Connect926
- Nano Banana 2913
- Gog Cli817
- Promptify655
- Tavily635
- Mgrep Code Search630
- Gpt Image 1 5624
- Copilot Sdk538
- Here Be Git534
- Ray So Code Snippet526
- Lorem Ipsum519
- Raindrop Api510
- Upstash Redis Kv476
- Monologue Notes Api220
- Notion Api104.8K
- Context711.3K
- Youtube Transcript3.5K
- Nano Banana Pro3.2K
- Ultrathink1.9K
Similar to Beautiful Mermaid
More Technical Documentation
diagram-to-imageSkillsugarforever/01coder-agent-skills515 installsConvert Mermaid diagrams and Markdown tables into styled PNG images via an external rendering API.
pretty-mermaidSkillimxv/pretty-mermaid-skills4.7K installsRenders Mermaid diagrams to themed SVG, PNG, or ASCII/Unicode with local, browser-free processing.
draw.ioMCP serverjgraph5.9K starsCreate and display interactive draw.io diagrams from Mermaid or draw.io XML, with 10,000+ library shapes.
drawioSkilljgraph/drawio-mcp3.5K installsGenerate, convert, and deliver draw.io diagrams as native .drawio files via Mermaid or hand-written XML, with optional ELK auto-layout.
Agentic MermaidMCP serveradewale72 starsRender, verify, and safely edit Mermaid diagrams for MCP-capable agents, with SVG, PNG, and ASCII output.