beautiful-mermaid-diagrams

Create beautiful diagrams using Mermaid syntax including flowcharts, sequence diagrams, class diagrams, ER diagrams, and state diagrams. Use when users ask to diagram, visualize, model, map out, or show the flow of systems, processes, architectures, or interactions.

16 stars

Best use case

beautiful-mermaid-diagrams is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Create beautiful diagrams using Mermaid syntax including flowcharts, sequence diagrams, class diagrams, ER diagrams, and state diagrams. Use when users ask to diagram, visualize, model, map out, or show the flow of systems, processes, architectures, or interactions.

Teams using beautiful-mermaid-diagrams should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/beautiful-mermaid-diagrams/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/beautiful-mermaid-diagrams/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/beautiful-mermaid-diagrams/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How beautiful-mermaid-diagrams Compares

Feature / Agentbeautiful-mermaid-diagramsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Create beautiful diagrams using Mermaid syntax including flowcharts, sequence diagrams, class diagrams, ER diagrams, and state diagrams. Use when users ask to diagram, visualize, model, map out, or show the flow of systems, processes, architectures, or interactions.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Beautiful Mermaid Diagrams

## Conventions

- MUST use English for all text in the diagram.

## Quick syntax reference

### Flowcharts

```mermaid
graph TD
  A[Start] --> B[Process] --> C[End]
```

### Sequence diagrams

```mermaid
sequenceDiagram
  Alice->>Bob: Hello
  Bob-->>Alice: Hi
```

### Class diagrams

```mermaid
classDiagram
  Animal <|-- Duck
  Animal : +String name
  Animal : +int age
```

### ER diagrams

```mermaid
erDiagram
  CUSTOMER ||--o{ ORDER : places
  CUSTOMER {int id PK}
```

## Diagram types by use case

| Use case         | Diagram type      | Keywords                        |
| ---------------- | ----------------- | ------------------------------- |
| Process flows    | `graph TD/LR`     | journeys, algorithms, workflows |
| API interactions | `sequenceDiagram` | requests, OAuth, transactions   |
| System design    | `classDiagram`    | models, MVC, patterns           |
| Database schemas | `erDiagram`       | entities, relationships, tables |
| State machines   | `stateDiagram-v2` | lifecycle, workflows, states    |

## Common shapes

| Shape     | Syntax     | Description          |
| --------- | ---------- | -------------------- |
| Rectangle | `[text]`   | Default node         |
| Rounded   | `(text)`   | Rounded corners      |
| Diamond   | `{text}`   | Decision/condition   |
| Stadium   | `([text])` | Start/end/process    |
| Circle    | `((text))` | Endpoint             |
| Database  | `[(text)]` | Data store           |
| Hexagon   | `{{text}}` | Alternative decision |

## Edge styles

| Style    | Syntax | Use case        |
| -------- | ------ | --------------- |
| Solid    | `-->`  | Default flow    |
| Dotted   | `-.->` | Optional/dashed |
| Thick    | `==>`  | Highlighted     |
| No arrow | `---`  | Related only    |

## Examples by type

| Diagram type      | Examples                                                         |
| ----------------- | ---------------------------------------------------------------- |
| Flowcharts        | [reference/flowcharts.md](reference/flowcharts.md)               |
| Sequence diagrams | [reference/sequence-diagrams.md](reference/sequence-diagrams.md) |
| Class diagrams    | [reference/class-diagrams.md](reference/class-diagrams.md)       |
| ER diagrams       | [reference/er-diagrams.md](reference/er-diagrams.md)             |
| State diagrams    | [reference/state-diagrams.md](reference/state-diagrams.md)       |

## Styling options

### Inline styles

```mermaid
graph TD
  A[Node] --> B[Custom]
  style B fill:#3b82f6,stroke:#1d4ed8
```

### Class definitions

```mermaid
graph TD
  A:::highlight --> B:::default
  classDef highlight fill:#fbbf24,stroke:#d97706
  classDef default fill:#f4f4f5,stroke:#a1a1aa
```

## Preset color themes

### Semantic colors

Use colors to convey meaning consistently across diagrams.

| Color         | Hex                   | Meaning             | Use for                        |
| ------------- | --------------------- | ------------------- | ------------------------------ |
| Green         | `#10b981` / `#059669` | Success, positive   | Completed, approved, active    |
| Red           | `#ef4444` / `#dc2626` | Error, danger       | Failed, rejected, error states |
| Yellow/Orange | `#f59e0b` / `#d97706` | Warning, caution    | Pending, review needed, alerts |
| Blue          | `#3b82f6` / `#1d4ed8` | Information, action | Links, processes, buttons      |
| Gray          | `#6b7280`             | Neutral, disabled   | Inactive, optional, background |

### Database brand colors

Use brand colors for common database systems.

| Database      | Shape      | Brand Color      | Example               |
| ------------- | ---------- | ---------------- | --------------------- |
| MongoDB       | `[(name)]` | Green `#00ED64`  | `DB[(MongoDB)]`       |
| PostgreSQL    | `[(name)]` | Blue `#4169E1`   | `DB[(PostgreSQL)]`    |
| MySQL         | `[(name)]` | Orange `#F29111` | `DB[(MySQL)]`         |
| Redis         | `[(name)]` | Red `#DC382D`    | `DB[(Redis)]`         |
| Elasticsearch | `[(name)]` | Yellow `#F4B400` | `DB[(Elasticsearch)]` |
| SQLite        | `[(name)]` | Blue `#003B57`   | `DB[(SQLite)]`        |

### Quick theme presets

Copy these classDef statements for common themes.

**Modern blue theme** (default for most diagrams):
```mermaid
graph TD
  A[Start]:::blue --> B[Process]:::blue --> C[End]:::blue
  classDef blue fill:#3b82f6,stroke:#1d4ed8,color:#fff
```

**Status theme** (success/warning/error):
```mermaid
graph TD
  A[Success]:::success --> B[Warning]:::warning --> C[Error]:::error
  classDef success fill:#10b981,stroke:#059669,color:#fff
  classDef warning fill:#f59e0b,stroke:#d97706,color:#fff
  classDef error fill:#ef4444,stroke:#dc2626,color:#fff
```

**Architecture theme** (frontend/backend/data layers):
```mermaid
graph LR
  A[Frontend]:::frontend --> B[Backend]:::backend --> C[(Database)]:::database
  classDef frontend fill:#3b82f6,stroke:#1d4ed8,color:#fff
  classDef backend fill:#8b5cf6,stroke:#7c3aed,color:#fff
  classDef database fill:#00ED64,stroke:#00b33c,color:#000
```

Related Skills

mermaid-expert

16
from diegosouzapw/awesome-omni-skill

Create Mermaid diagrams for flowcharts, sequences, ERDs, and architectures. Masters syntax for all diagram types and styling. Use PROACTIVELY for visual documentation, system diagrams, or process flows.

beautiful-mermaid

16
from diegosouzapw/awesome-omni-skill

Render Mermaid diagrams as pure ASCII text (default) or themed SVGs using the beautiful-mermaid renderer. Use when the user asks for a Mermaid diagram (flowchart, sequence, class, state, or ER), wants a diagram file generated, or needs terminal-friendly ASCII output.

beautiful-mermaid-renderer

16
from diegosouzapw/awesome-omni-skill

Render Mermaid diagrams using beautiful-mermaid as Unicode/ASCII (terminal/chat) or SVG (rich UI). Use when you need a quick, good-looking diagram preview in plain text or want to generate an SVG from Mermaid source (Bun preferred).

acc-mermaid-template

16
from diegosouzapw/awesome-omni-skill

Generates Mermaid diagrams for technical documentation. Provides templates for flowcharts, sequence diagrams, class diagrams, ER diagrams, and C4 models.

beautiful-prose

16
from diegosouzapw/awesome-omni-skill

Hard-edged writing style contract for timeless, forceful English prose without AI tics

mermaid-diagrams

16
from diegosouzapw/awesome-omni-skill

Mermaid diagram creation for flowcharts, sequences, ERDs, and more. Generate diagrams from text in markdown files. Use for documentation, architecture diagrams, and visual representations. Triggers on mermaid, flowchart, sequence diagram, ERD, entity relationship, gantt chart, pie chart, class diagram, state diagram, journey map.

mermaid-diagram-generator

16
from diegosouzapw/awesome-omni-skill

Creates Mermaid diagrams for flowcharts, sequence diagrams, ERDs, and architecture visualizations in markdown. Use when users request "Mermaid diagram", "flowchart", "sequence diagram", "ERD diagram", or "architecture diagram".

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

moai-lang-r

16
from diegosouzapw/awesome-omni-skill

R 4.4+ best practices with testthat 3.2, lintr 3.2, and data analysis patterns.

moai-lang-python

16
from diegosouzapw/awesome-omni-skill

Python 3.13+ development specialist covering FastAPI, Django, async patterns, data science, testing with pytest, and modern Python features. Use when developing Python APIs, web applications, data pipelines, or writing tests.

moai-icons-vector

16
from diegosouzapw/awesome-omni-skill

Vector icon libraries ecosystem guide covering 10+ major libraries with 200K+ icons, including React Icons (35K+), Lucide (1000+), Tabler Icons (5900+), Iconify (200K+), Heroicons, Phosphor, and Radix Icons with implementation patterns, decision trees, and best practices.

moai-foundation-trust

16
from diegosouzapw/awesome-omni-skill

Complete TRUST 4 principles guide covering Test First, Readable, Unified, Secured. Validation methods, enterprise quality gates, metrics, and November 2025 standards. Enterprise v4.0 with 50+ software quality standards references.