
Pretty Mermaid
Renders Mermaid diagrams to themed SVG, PNG, or ASCII/Unicode with local, browser-free processing.
- skills.sh installs
- 4.7K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
What it does
- Covers flowcharts, sequence, state, class, ER, and XY chart diagrams, from authoring Mermaid source to rendering it
- Includes
render.mjsfor single files,batch.mjsfor parallel directory conversion, andthemes.mjsfor listing 15 built-in themes - Provides terminal-safe output with
--use-asciiand--color-mode none, plus explicit color flags for custom palettes - Designed for architecture docs, READMEs, PRs, chats, and CI pipelines that need rendered diagrams
Install
$ npx -y skills add imxv/pretty-mermaid-skills --skill pretty-mermaid -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Pretty Mermaid
Create or render Mermaid diagrams with the bundled Node.js CLI. Use SVG for scalable documentation, PNG for sharing or raster-only consumers, and ASCII or Unicode for terminals and plain text.
Working directory
Treat the directory containing this file as <skill-root>. Run bundled scripts from that directory, or invoke them with absolute paths. Keep user source and rendered output in the user's requested location; do not copy the renderer into their project.
Workflow
- Determine whether the user supplied Mermaid source or needs a diagram authored from prose.
- Choose the diagram type and output format from the tables below.
- Read only the relevant reference file when syntax, theme selection, or API behavior needs more detail.
- Save new source as a
.mmdfile, preserving user terminology and relationships. - Render with a named theme or explicit colors.
- Inspect the result. Fix syntax, clipping, crowded layout, or unclear labels and render again.
- Return the source and output paths, plus the selected format and theme.
Do not overwrite an existing source or output file unless the user asked for replacement.
Choose a diagram type
Details
- Repository
- github.com/imxv/pretty-mermaid-skills
- Categories
- Technical Documentation, Design & UI/UX
Similar to Pretty Mermaid
More Technical Documentation
mermaid-diagram-generatorSkillpatricio0312rev/skills347 installsMermaid diagram generator for flowcharts, sequence, ERD, state, class, and architecture diagrams in markdown.
beautiful-mermaidSkillintellectronica/agent-skills1.9K installsRenders Mermaid diagrams to SVG and 4K PNG using the Beautiful Mermaid library with selectable themes.
draw.ioMCP serverjgraph5.9K starsCreate and display interactive draw.io diagrams from Mermaid or draw.io XML, with 10,000+ library shapes.
mermaidjs-v11Skillmrgoonie/claudekit-skills375 installsText-based diagram authoring with Mermaid.js v11 syntax, rendered to SVG, PNG, or PDF through CLI or browser.
mermaid-flowchart-generatorSkilljeremylongshore/tons-of-skills-marketplace174 installsGenerates Mermaid flowchart code from natural-language descriptions of process steps and decisions.