mermaid
/mermaid
Renderuje diagramy Mermaid jako SVG lub ASCII, na przykład schematy przepływu, sekwencji, stanów i klas.
- Autor
- halojerry ↗
- Repozytorium
- poundingcore ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 06.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 06.08.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/render.ts
Co robi i kiedy
Renderuje diagramy Mermaid jako SVG lub ASCII, na przykład schematy przepływu, sekwencji, stanów i klas.
Oryginalny opis (EN)
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.
Jak działa
- Quick Start
- Supported Diagrams
- Theming (SVG only)
- Resources
Podgląd SKILL.md
---
name: mermaid
description: 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.
---
> **⚠️ 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; A-->B-->C" | npx tsx scripts/render.ts --stdin --output flow.svg
```
### ASCII Output (Terminal)
```bash
# ASCII art for terminal display
npx tsx scripts/render.ts diagram.mmd --ascii
# Pipe directly
echo "graph TD; Start-->End" | npx tsx scripts/render.ts --stdin --ascii
```
Output example:
```
┌───────┐ ┌─────┐
│ Start │────▶│ End │
└───────┘ └─────┘
```
## Supported Diagrams
| Type | Syntax | Best For |
| --------- | ----------------- | ----------------------- |
| Flowchart | `graph TD/LR` | Processes, decisions |
| Sequence | `sequenceDiagram` | API calls, interactions |
| State | `stateDiagram-v2` | State machines |
| Class | `classDiagram` | OOP design |
| ER | `erDiagram` | Database schemas |
## Theming (SVG only)
```bash
npx tsx scripts/render.ts diagram.mmd --theme github-dark --output out.svg
```
Use invalid theme name to see available themes list (e.g., `--theme ?`)
## Resources
- `scripts/render.ts` - Main rendering script
- `references/syntax.md` - Mermaid syntax quick reference
Pliki w paczce (3)
- SKILL.md 3 KB
- references/syntax.md 1 KB
- scripts/render.ts 4 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · halojerry/poundingcore | 95 | Apache-2.0 |
| rp1-run/rp1 | 100 | Apache-2.0 |
| TerminalSkills/skills | 100 | Apache-2.0 |
| bex-co/beancount-io | 100 | MIT |
| antoinebou12/uml-mcp | 100 | MIT |
| microclaw/microclaw | 100 | MIT |
| greedychipmunk/agent-skills | 100 | MIT |
| fprochazka/claude-code-plugins | 100 | MIT |
| carlheath/ogmios | 100 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki bb55000407f9 (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100beautiful-mermaid
Renderuje diagramy Mermaid, takie jak schematy blokowe, sekwencji, klas i ER, jako grafikę ASCII w terminalu lub pliki SVG, z 17 motywami kolorystycznymi. - 100plantuml-ascii
Generuje diagramy ASCII z PlantUML w trybie tekstowym: diagramy sekwencji, klas i przepływu, także w wersji Unicode z flagą -utxt. - 100beautiful-mermaid
Renderuje diagramy Mermaid do plików SVG i PNG za pomocą biblioteki Beautiful Mermaid. - 95pretty-mermaid
Renderuje diagramy Mermaid jako SVG, PNG lub ASCII w wybranym motywie do dokumentacji, PR-ów i terminala, także wsadowo. - 100mermaid-architecture
Generuje, dokumentuje i aktualizuje diagramy architektury, schematy blokowe oraz diagramy sekwencji, ER, klas i stanów w Mermaid w katalogu docs/architecture/. - 100mermaid-js
Tworzy diagramy Mermaid, w tym schematy blokowe, diagramy sekwencji, maszyny stanów i grafy architektury.