mermaid

Featured

Render Mermaid diagrams as SVG or ASCII art using beautiful-mermaid. Use when users need to create flowcharts, sequence diagrams, state diagrams, class diagrams, or ER diagrams. Supports both graphical SVG output and terminal-friendly ASCII/Unicode output.

AI & Automation 231 stars 12 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
79
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

> **⚠️ Platform note — read before running any command.** The shell snippets in this skill are written for **macOS / Linux** (bash/zsh). Always check which OS you are on first. On **Windows** do **not** run them verbatim — the underlying tool/CLI commands are usually cross-platform, but the surrounding shell syntax is not. Translate it to PowerShell before running: > > | bash (macOS / Linux) | PowerShell (Windows) | > | --- | --- | > | `a && b` | run as two steps, or `a; if ($?) { b }` | > | `cat <<'EOF' \| tool …` (heredoc) | write the text to a temp file, then pipe/pass that file to the tool | > | `VAR=$(cmd)` … `$VAR` | `$VAR = cmd` … `$VAR` | > | `cmd > /dev/null` | `cmd > $null` | > | `… \| grep PAT` | `… \| Select-String PAT` | > | `… \| jq …` | `… \| ConvertFrom-Json`, then read the fields | > | `python3 x.py` | `python x.py` (or `py x.py`) | > | `~/dir`, `/tmp` | `$env:USERPROFILE\dir`, `$env:TEMP` | > | `cp` / `mkdir -p` / `rm -rf` | `Copy-Item` / `New-Item -ItemType Directory -Force` / `Remove-Item -Recurse -Force` | > > If a command has no obvious Windows equivalent, prefer the built-in file/HTTP tools over raw shell. # Mermaid Diagram Renderer Render Mermaid diagrams using `beautiful-mermaid` library. Supports 5 diagram types with dual output modes. ## Quick Start > Dependencies (`beautiful-mermaid`) auto-install on first run. ### SVG Output (Default) ```bash # From file npx tsx scripts/render.ts diagram.mmd --output diagram.svg # From stdin echo "graph LR;...

Details

Author
peintune
Repository
peintune/runjam
Created
1 months ago
Last Updated
6 days ago
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category