Help us improve
Share bugs, ideas, or general feedback.
From document-generator
Create Mermaid architecture diagrams for visualizing system structure and data flow
npx claudepluginhub bradleyboehmke/brads-marketplace --plugin document-generatorHow this command is triggered — by the user, by Claude, or both
Slash command
/document-generator:generate-architecture-diagramThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Generate Architecture Diagram ## Activated Agent **Activate**: `mermaid-expert` agent The agent will create appropriate Mermaid diagrams based on what needs visualization. ## Objective Create clear, accurate Mermaid diagrams to visualize software architecture, data flow, system interactions, or other technical concepts. ## Activated Skills The agent will activate these skills: 1. **`mermaid-diagramming`** - Mermaid syntax and diagram types 2. **`diagram-analysis`** - Understanding what to visualize and choosing diagram type ## Process The agent will: 1. **Understand the need** ...
/generate-diagramsGenerates Mermaid diagrams including C4 architecture (L0-L3), data flows, sequence diagrams, user journeys, and ERDs from codebase analysis. Supports --type filter.
/diagramCreates Mermaid or ASCII diagrams for flowcharts, sequence diagrams, ERDs, C4 models, mindmaps, architecture, and more from natural language descriptions.
/diagramGenerates focused architecture diagrams in Mermaid syntax from codebase components and relationships, with labeled data flows and optional legend. Saves to docs directory; limits to 15 nodes.
/diagramGenerates Mermaid diagrams from codebase analysis or descriptions. Supports flowcharts, sequences, classes, ER diagrams, graphs, and states. Outputs validated Markdown embeds.
/architectureGenerates Mermaid diagrams of your codebase: system overview, API route map, database ER diagram, and data flow sequences. Renders in GitHub.
Share bugs, ideas, or general feedback.
Activate: mermaid-expert agent
The agent will create appropriate Mermaid diagrams based on what needs visualization.
Create clear, accurate Mermaid diagrams to visualize software architecture, data flow, system interactions, or other technical concepts.
The agent will activate these skills:
mermaid-diagramming - Mermaid syntax and diagram typesdiagram-analysis - Understanding what to visualize and choosing diagram typeThe agent will:
Understand the need - Ask:
Analyze the system - Examine:
Choose diagram type - Select from:
Generate diagram - Create:
Output diagram:
Provide usage - Explain:
| Type | Use For | Example |
|---|---|---|
| C4 Context | System overview | "How does our platform fit in the ecosystem?" |
| C4 Container | Service architecture | "What are our main services?" |
| Flowchart | Processes | "How does training work?" |
| Sequence | API interactions | "What happens during request?" |
| ER Diagram | Data models | "Database schema?" |
| Class | OOP design | "Class hierarchy?" |
| State | Lifecycles | "Deployment states?" |
Provide:
Example output:
Here's a C4 Container diagram showing your ML platform architecture:
```mermaid
C4Container
title ML Platform Architecture
Person(ds, "Data Scientist", "Trains models")
Container(api, "API Service", "FastAPI", "Model serving")
Container(training, "Training Service", "Python", "Model training")
ContainerDb(db, "Model Registry", "PostgreSQL", "Model metadata")
Rel(ds, training, "Submits jobs", "CLI")
Rel(training, db, "Stores models")
Rel(api, db, "Loads models")
```
**To use this diagram:**
- Embed in Markdown files (GitHub will render it)
- Preview in VS Code with Mermaid extension
- Save to `docs/architecture/platform-overview.md`
Standalone file:
docs/architecture/[diagram-name].mdInsert into existing file: