Design and review software architecture diagrams for clearer, documentation-friendly visuals.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "diagram-design" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/devsquad-copilot/main/.github/plugins/devsquad/skills/diagram-design/SKILL.md 2. Save it as ~/.claude/skills/diagram-design/SKILL.md 3. Reload skills and tell me it's ready
Please review this Mermaid system architecture diagram definition, identify issues in readability, naming, abstraction levels, and connector usage, then provide an improved Mermaid version suitable for GitHub Markdown rendering.
Get a list of issues, improvement suggestions, and a revised Mermaid diagram ready to use.
I need to show an architecture diagram with multiple system boundaries, data flows, and deployment nodes in technical documentation. Please compare Mermaid and Draw.io, and recommend which tool I should use and why.
Receive a tool recommendation based on complexity, maintainability, collaboration, and rendering platform.
Based on the following API interaction description, generate a clear Mermaid sequence diagram with consistent participant naming, explicit step order, and readable exception flows, suitable for an Azure DevOps Wiki.
Get a well-structured, platform-compatible Mermaid sequence diagram with explanation of key clarity improvements.
A diagram exists to help someone understand something. Before creating one, ask: who is the audience and what question does this diagram answer?
Zoom, don't cram. Each diagram should answer one question at one level of abstraction. Use separate diagrams for context, containers, components, and code, like zooming into a map.
Keep it simple. When a diagram feels cluttered, split it. Avoid crossing arrows, limit to ~15 elements, and prefer clarity over completeness.
Every element must be meaningful. Each box needs a name and a responsibility (one sentence). Add technology labels only for technical audiences. If you cannot describe what an element does, remove it.
Diagrams complement text. Add a short paragraph for context the visual cannot convey (why, constraints, what is not shown). Do not repeat in text what the diagram already shows.
Apply before considering a diagram done:
Shapes help distinguish element types at a glance (rectangle for services, cylinder for data stores, person for actors, cloud for external systems). Pick a consistent mapping and apply it throughout the project.
Colors add information but should not be the only differentiator (~8% of males have color vision deficiency). Pair color with shape, pattern, or label so diagrams remain readable in grayscale. Limit to 4-5 colors, avoid red/green as sole distinguishing pair, and document the mapping in the legend.
Icons (Draw.io) add recognition but must complement text labels, not replace them. Use official service icon sets and do not mix providers. Read references/drawio-guide.md for creation and export workflow.
| Factor | Mermaid | Draw.io |
|---|---|---|
| Complexity | Simple to medium (< 15 elements) | Medium to complex, or spatial layout matters |
| Icons | No native support | Rich icon libraries (cloud providers, UML) |
| Version control | Text-based diff in markdown | Binary .drawio (XML, harder to review) |
| Rendering | Inline in GitHub/Azure DevOps | Exported as .drawio.png, referenced as image |
Start with Mermaid. Switch to Draw.io when the diagram needs spatial freedom, icons, or more than ~15 elements.
<br/> inside labels and node text. Mermaid does not interpret \n as a line break; it renders as literal text.| What you want to show | Mermaid type |
|---|---|
| System context, containers, components | C4Context, C4Container, C4Component |
| Request/response flow between services | sequenceDiagram |
| Process or data flow | flowchart LR or flowchart TD |
| State transitions | stateDiagram-v2 |
| Entity relationships | erDiagram |
| Class structure | classDiagram |
Use LR (left-to-right) for flows and pipelines; TD (top-down) for hierarchies.
Detect from the git remote (git config --get remote.origin.url):
github.com): use code block with ```mermaid and ```…
Systematically triage failures and fix broken builds or unexpected runtime issues.
Create, switch, and verify Git branches before starting implementation work.
Initialize projects or verify and generate up-to-date SDD documentation templates.
Verify and create standard community and governance files for new projects.
Verify assignee, dependencies, priority, and capacity before starting a work item.
Standardize formatting and writing style for project Markdown documentation.
Generate and refine draw.io diagrams from prompts, images, or codebases.
Generate readable, shareable Mermaid diagrams from natural language prompts.
Turn natural language into validated Mermaid diagrams and export multiple formats.
Generate concept, architecture, flow, and whiteboard diagrams in multiple formats.
Generate Mermaid UML, architecture, and threat-model diagrams with AI assistance.
Lets AI create and manage diagrams via MCP.