/engineering-paved-path:mermaid-diagramfrom engineering-paved-path
Create Mermaid diagrams in markdown. Use when the user wants to visualize workflows, architectures, API flows, data models, state machines, or system designs. Covers flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, and more.
Ships in engineering-paved-path. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate Mermaid diagrams embedded in markdown that communicate clearly — showing relationships, flows, and structure that words alone can't express.
See examples.md for ready-to-use templates for each diagram type. See references.md for official docs and tools.
mmdc| You want to show... | Use | Mermaid keyword |
|---|---|---|
| Steps, decisions, branches | Flowchart | flowchart TD |
| API calls between services over time | Sequence Diagram | sequenceDiagram |
| Object relationships, inheritance | Class Diagram | classDiagram |
| Database tables and relationships | ER Diagram | erDiagram |
| Transitions between states | State Diagram | stateDiagram-v2 |
| Project timeline, task dependencies | Gantt Chart | gantt |
| Proportions, distribution | Pie Chart | pie |
| Hierarchical idea breakdown | Mindmap | mindmap |
| Git branching strategy | Git Graph | gitGraph |
| User experience steps | User Journey | journey |
| Chronological events | Timeline | timeline |
The most common diagram type. Use for workflows, decision trees, and process flows.
| Code | Direction |
|---|---|
TD / TB | Top → Down |
LR | Left → Right |
BT | Bottom → Top |
RL | Right → Left |
| Syntax | Shape | Use for |
|---|---|---|
[text] | Rectangle | Process, action |
(text) | Rounded | Start/end |
{text} | Diamond | Decision |
((text)) | Circle | Event, trigger |
[(text)] | Cylinder | Database, storage |
[[text]] | Subroutine | External process |
| Syntax | Style |
|---|---|
--> | Solid arrow |
-.-> | Dashed arrow |
==> | Bold arrow |
--text--> | Arrow with label |
~~~ | Invisible link (layout) |
Group related nodes into labeled containers:
subgraph Title
direction LR
A --> B
end
Use for API flows, service interactions, and request/response patterns. Ideal for documenting Express routes, middleware chains, and client-server communication.
| Element | Syntax |
|---|---|
| Solid arrow (request) | ->> |
| Dashed arrow (response) | -->> |
| Solid line (sync) | -> |
| Dashed line (async) | --> |
| Cross (destroy) | -x |
| Note | Note right of A: text |
| Activation | activate A / deactivate A |
| Alt/else | alt condition / else / end |
| Loop | loop label / end |
| Opt (optional) | opt condition / end |
Use for data models, Mongoose schemas, and object relationships.
| Syntax | Meaning |
|---|---|
<|-- | Inheritance |
*-- | Composition (strong ownership) |
o-- | Aggregation (weak ownership) |
--> | Association |
<|.. | Interface implementation |
..> | Dependency |
class ClassName {
+String publicField
-Number privateField
#Date protectedField
+methodName() ReturnType
-privateMethod() void
}
Use for MongoDB schema relationships, database design.
| Syntax | Meaning |
|---|---|
||--|| | One-to-one |
||--o{ | One-to-many |
}o--o{ | Many-to-many |
||--o| | One-to-zero-or-one |
ENTITY {
string fieldName PK "Primary Key"
string otherField FK "Foreign Key"
number numericField
date dateField
}
Use for component lifecycle, auth flows, or any finite state machine.
| Element | Syntax |
|---|---|
| Start | [*] --> State1 |
| End | State1 --> [*] |
| Transition | State1 --> State2 : event |
| Composite state | state StateName { ... } |
| Fork/Join | state fork_state <<fork>> |
| Choice | state choice_state <<choice>> |
| Note | note right of State : text |
Use for project planning, sprint timelines, implementation plans.
gantt
dateFormat YYYY-MM-DD
title Project Timeline
section Phase 1
Task A :a1, 2024-01-01, 5d
Task B :after a1, 3d
section Phase 2
Task C :2024-01-10, 7d
Duration formats: 1d (days), 1w (weeks), 1h (hours)
Dependencies: after taskId for sequential tasks
style nodeId fill:#f9f,stroke:#333,stroke-width:2px
classDef className fill:#bbf,stroke:#333
class nodeId className
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#ff6b6b'}}}%%
Available themes: default, dark, forest, neutral, base (customizable)
mermaid code blocks~~~) as a first resort — fix the layout with direction/grouping firstGitHub, GitLab, Notion, and most markdown renderers support mermaid blocks natively:
```mermaid
flowchart LR
A --> B
```
If mmdc (Mermaid CLI) is available:
# PNG output
mmdc -i diagram.md -o diagram.png
# SVG output
mmdc -i diagram.md -o diagram.svg -t dark
# With custom width
mmdc -i diagram.md -o diagram.png -w 1200
Before sharing any diagram:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
14 skills in this plugin
/dependency-checkerAudits all dependencies across the repo's 6 independent packages (server, client, reviewer-core, e2e, evals, mcp-server) — no shared workspace. Distinguishes external npm dependencies from internal cross-package dependencies (tsconfig path aliases, not workspace:*), draws a Mermaid schematic of dependency relationships, breaks down installed size per package, and prioritizes findings into P0/P1/P2/Info tiers with concrete, file-specific recommendations. Read-only: reports and advises, never runs pnpm remove/update itself. Invoke explicitly: /dependency-checker, 'check our dependencies', 'audit deps', 'why is node_modules so big', 'draw the dependency graph'./drizzle-orm-patternsProvides comprehensive Drizzle ORM patterns for schema definition, CRUD operations, relations, queries, transactions, and migrations. Proactively use for any Drizzle ORM development including defining database schemas, writing type-safe queries, implementing relations, managing transactions, and setting up migrations with Drizzle Kit. Supports PostgreSQL, MySQL, SQLite, MSSQL, and CockroachDB./fastify-best-practicesGuides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production. Covers the full Fastify request lifecycle (hooks, serialization, logging with Pino) and TypeScript integration via strip types. Trigger terms: Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts.npx claudepluginhub vadimpoltoratskiy/dev-digest-ai-marketplace --plugin engineering-paved-path8 plugins ship this exact skill · first indexed Jul 20, 2026
Showing 6 of 8 plugins, one per repository first