From nickcrew-claude-ctx-plugin
Creates Mermaid diagrams including flowcharts, sequence diagrams, ERDs, state machines, Gantt charts, and architecture views for technical documentation.
npx claudepluginhub nickcrew/claude-cortexThis skill uses the workspace's default tool permissions.
Create clear, professional Mermaid diagrams for technical documentation. Covers all major
Generates Mermaid diagrams for flowcharts, sequences, ERDs, architectures, Gantt charts, and more. Provides syntax mastery, styling, and best practices for visual documentation, system diagrams, process flows.
Generates Mermaid diagrams for Markdown documentation including flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, pie charts, mindmaps, timelines, C4 diagrams, and 20+ types. Renders in GitHub, GitLab, wikis.
Creates Mermaid diagrams for flowcharts, sequences, ERDs, architectures, Gantt charts, and more. Provides syntax mastery, styling, best practices, and rendering guidance.
Share bugs, ideas, or general feedback.
Create clear, professional Mermaid diagrams for technical documentation. Covers all major diagram types with both basic and styled variants, rendering guidance, and export recommendations.
| Resource | Purpose | Load when |
|---|---|---|
references/diagram-types.md | Syntax, patterns, and code examples for every Mermaid diagram type | Choosing or building a diagram |
Phase 1: Scope → Identify what to visualize, audience, and diagram type
Phase 2: Draft → Write base Mermaid code with correct syntax
Phase 3: Style → Add theming, colors, and accessibility annotations
Phase 4: Deliver → Provide rendering instructions and suggest iterations
Before writing any code, clarify:
| If you need to show... | Use |
|---|---|
| Process flow, decisions, branching | flowchart |
| Interactions over time between systems/actors | sequenceDiagram |
| Data model and relationships | erDiagram |
| Object structure and inheritance | classDiagram |
| States and transitions | stateDiagram-v2 |
| Project schedule and dependencies | gantt |
| Proportions or distribution | pie |
| Hierarchical idea mapping | mindmap |
| Events over time | timeline |
| System architecture layers | C4 context/container diagrams |
| Code version history | gitGraph |
| User experience flow | journey |
TB) or left-to-right (LR)subgraph to cluster related elements%% Always start with a comment describing the diagram's purpose
%% Use consistent quoting for labels with special characters
flowchart LR
A["User Request"] --> B{"Auth Check"}
B -->|Valid| C["Process Request"]
B -->|Invalid| D["Return 401"]
%%) explaining non-obvious relationships--> for solid lines, -.-> for dashed, ==> for thick-->|"reason"| TargetNodeApply consistent styling using %%{init: ...}%% directives:
%%{init: {'theme': 'base', 'themeVariables': {'primaryColor': '#4A90D9'}}}%%
flowchart TB
A["Start"] --> B["End"]
flowchart LR
A["Normal"]
B["Highlighted"]:::highlight
classDef highlight fill:#f9f,stroke:#333,stroke-width:2px
| Platform | Support |
|---|---|
| GitHub markdown | Native rendering in .md files |
| GitLab markdown | Native rendering |
| Mermaid Live Editor | https://mermaid.live for interactive editing |
| VS Code | Mermaid extension for preview |
| Docusaurus / MkDocs | Plugin-based rendering |