From dev-team
Creates Mermaid diagrams (flowcharts, sequence diagrams, architecture diagrams) using a project-specific blue-gray theme. Includes theme directives, shape conventions, and layout rules.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-team:mermaid-diagrammingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce Mermaid diagrams that use the project's blue-gray theme. Every diagram must include the theme init directive as its first line.
Produce Mermaid diagrams that use the project's blue-gray theme. Every diagram must include the theme init directive as its first line.
Paste this as the first line inside every ```mermaid block, before the diagram type declaration:
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#dbeafe', 'primaryTextColor': '#1e3a5f', 'primaryBorderColor': '#3b82f6', 'lineColor': '#64748b', 'secondaryColor': '#f1f5f9', 'tertiaryColor': '#e0f2fe', 'background': '#ffffff', 'mainBkg': '#dbeafe', 'nodeBorder': '#2563eb', 'clusterBkg': '#eff6ff', 'clusterBorder': '#bfdbfe', 'titleColor': '#1e3a5f', 'edgeLabelBackground': '#f8fafc'}}}%%
| Variable | Value | Role |
|---|---|---|
primaryColor / mainBkg | #dbeafe (blue-100) | Default node fill |
secondaryColor | #f1f5f9 (slate-100) | Secondary node fill |
tertiaryColor | #e0f2fe (sky-100) | Tertiary / highlight fill |
primaryBorderColor / nodeBorder | #3b82f6 / #2563eb (blue-500/600) | Node border |
clusterBkg | #eff6ff (blue-50) | Subgraph / cluster fill |
clusterBorder | #bfdbfe (blue-200) | Subgraph border |
lineColor | #64748b (slate-500) | Edge / arrow color |
primaryTextColor / titleColor | #1e3a5f (dark navy) | Text |
edgeLabelBackground | #f8fafc (slate-50) | Edge label background |
background | #ffffff | Diagram background |
```mermaid block in this repo starts with the %%{init}%% line.{...} rhombus shape. Action nodes use [...] rectangles. Terminal/IO nodes use [/..../] parallelograms.LR for data flow; TD for org charts, call trees, and phase sequences.%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#dbeafe', 'primaryTextColor': '#1e3a5f', 'primaryBorderColor': '#3b82f6', 'lineColor': '#64748b', 'secondaryColor': '#f1f5f9', 'tertiaryColor': '#e0f2fe', 'background': '#ffffff', 'mainBkg': '#dbeafe', 'nodeBorder': '#2563eb', 'clusterBkg': '#eff6ff', 'clusterBorder': '#bfdbfe', 'titleColor': '#1e3a5f', 'edgeLabelBackground': '#f8fafc'}}}%%
flowchart LR
A[Input] --> B{Valid?}
B -->|yes| C[Process]
B -->|no| D[Reject]
C --> E[Output]
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#dbeafe', 'primaryTextColor': '#1e3a5f', 'primaryBorderColor': '#3b82f6', 'lineColor': '#64748b', 'secondaryColor': '#f1f5f9', 'tertiaryColor': '#e0f2fe', 'background': '#ffffff', 'mainBkg': '#dbeafe', 'nodeBorder': '#2563eb', 'clusterBkg': '#eff6ff', 'clusterBorder': '#bfdbfe', 'titleColor': '#1e3a5f', 'edgeLabelBackground': '#f8fafc'}}}%%
sequenceDiagram
participant C as Client
participant S as Server
participant D as Database
C->>S: POST /resource
S->>D: INSERT row
D-->>S: OK
S-->>C: 201 Created
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#dbeafe', 'primaryTextColor': '#1e3a5f', 'primaryBorderColor': '#3b82f6', 'lineColor': '#64748b', 'secondaryColor': '#f1f5f9', 'tertiaryColor': '#e0f2fe', 'background': '#ffffff', 'mainBkg': '#dbeafe', 'nodeBorder': '#2563eb', 'clusterBkg': '#eff6ff', 'clusterBorder': '#bfdbfe', 'titleColor': '#1e3a5f', 'edgeLabelBackground': '#f8fafc'}}}%%
flowchart TD
subgraph API["API Layer"]
R[Router]
M[Middleware]
end
subgraph Domain["Domain Layer"]
S[Service]
E[Entities]
end
subgraph Infra["Infrastructure"]
DB[(Database)]
Cache[(Cache)]
end
R --> M --> S --> E
S --> DB
S --> Cache
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#dbeafe', 'primaryTextColor': '#1e3a5f', 'primaryBorderColor': '#3b82f6', 'lineColor': '#64748b', 'secondaryColor': '#f1f5f9', 'tertiaryColor': '#e0f2fe', 'background': '#ffffff', 'mainBkg': '#dbeafe', 'nodeBorder': '#2563eb', 'clusterBkg': '#eff6ff', 'clusterBorder': '#bfdbfe', 'titleColor': '#1e3a5f', 'edgeLabelBackground': '#f8fafc'}}}%%
stateDiagram-v2
[*] --> Pending
Pending --> Running : start
Running --> Passed : success
Running --> Failed : error
Passed --> [*]
Failed --> [*]
```mermaid block with the theme %%{init}%% directive on line 1.When inserting a diagram into an existing markdown file:
##) above the diagram block to name the concept.``` that describes what the diagram shows — this doubles as alt-text.npx claudepluginhub bdfinst/agentic-dev-team --plugin dev-teamGenerates Mermaid diagrams for flowcharts, sequences, states, classes, and architecture using semantic styling, shapes, and visual hierarchy.
Generates Mermaid diagrams from text descriptions by analyzing intent to select types like activity, sequence, deployment, architecture, class, ER, or state.
Generates Mermaid diagrams in markdown for visualizations of systems, processes, databases, and APIs. Proactively suggests diagrams when explaining complex topics.