Skip to content
Development
Skill

/visualizing-with-mermaid

Creates professional Mermaid diagrams with semantic styling and visual hierarchy. Use when creating flowcharts, sequence diagrams, state machines, class diagrams, or architecture visualizations.

BOOST
From plugin
claude-essentials
13017 skills4 agents3 commands
Install
$ npx -y skills add rileyhilliard/claude-essentials --skill visualizing-with-mermaid --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/visualizing-with-mermaid

Context preview

The summary Claude sees to decide when to auto-load this skill.

Creates professional Mermaid diagrams with semantic styling and visual hierarchy. Use when creating flowcharts, sequence diagrams, state machines, class diagrams, or architecture visualizations.

SKILL.md

visualizing-with-mermaid.SKILL.md
name: visualizing-with-mermaid
description: Creates professional Mermaid diagrams with semantic styling and visual hierarchy. Use when creating flowcharts, sequence diagrams, state machines, class diagrams, or architecture visualizations.

Mermaid Diagrams

**Default: Dark mode colors** from [references/color-palettes.md](references/color-palettes.md).

Choosing Diagram Type

| Concept | Diagram Type | |---------|--------------| | Process flows, decisions | Flowchart (TB direction) | | API calls, message passing | Sequence diagram | | Lifecycle states | State diagram | | Data models, relationships | Class diagram or ERD | | System architecture | Flowchart with subgraphs (LR direction) |

Core Principles

1. **Visual hierarchy over decoration** - Color/size guide the eye to what matters 2. **Semantic color** - Colors have meaning (grouping, state, criticality) 3. **Simplicity over completeness** - 80% clearly beats 100% confusingly 4. **7-12 nodes max** - Human working memory limit; break larger systems into drill-downs

Quick Styling Guide

**Do:**

  • Use fills to group related components
  • Highlight critical paths with stroke width
  • Different shapes = different component types (cylinders for DBs, diamonds for decisions)
  • Keep labels to 1-4 words; use `<br/>` for longer

**Don't:**

  • Pure black (`#000000`) - too harsh, use dark gray
  • Saturated background colors - tire the eyes
  • More than 5 colors per diagram
  • Low-contrast combinations

Shape Semantics

  • **Rectangles**: Services, processes
  • **Rounded rectangles**: APIs, interfaces
  • **Circles**: Start/end points, external systems
  • **Diamonds**: Decision points
  • **Cylinders**: Databases
  • **Hexagons**: Queues, message brokers

Layout

**LR (left-to-right)**: Pipelines, architecture diagrams **TB (top-to-bottom)**: Hierarchies, decision flows

Use **subgraphs** for: deployment boundaries, logical layers, team ownership, trust boundaries.

Resources

  • **Color palettes**: See [references/color-palettes.md](references/color-palettes.md)
  • **Pattern examples**: See [references/examples.md](references/examples.md) for architecture, state machines, data flows, ERDs

Workflow

1. **Purpose** - What decision/understanding should this enable? 2. **Type** - Choose based on what you're showing 3. **Structure** - Identify components, relationships, groupings 4. **Style** - Apply semantic colors, highlight critical paths 5. **Review** - Can someone understand it in 10 seconds?

Read more
Ships withclaude-essentials

A unified development plugin for Claude Code with essential skills and specialized agents, all accessible under the ce namespace.

Get the whole plugin

Other skills on claude-essentials.