Architecture Diagrams

Architecture Diagrams

Guides an AI agent to draw system architecture diagrams as code using Mermaid and PlantUML: C4, flowcharts, sequence, component and deployment diagrams.

Skill files12 files

references/

scripts/

templates/

SKILL.md111 lines
1
---
2
name: architecture-diagrams
3
description: >
4
Create system architecture diagrams using Mermaid, PlantUML, C4 model,
5
flowcharts, and sequence diagrams. Use when documenting architecture, system
6
design, data flows, or technical workflows.
7
---
8
9
# Architecture Diagrams
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Create clear, maintainable architecture diagrams using code-based diagramming tools like Mermaid and PlantUML for system design, data flows, and technical documentation.
22
23
## When to Use
24
25
- System architecture documentation
26
- C4 model diagrams
27
- Data flow diagrams
28
- Sequence diagrams
29
- Component relationships
30
- Deployment diagrams
31
- Infrastructure architecture
32
- Microservices architecture
33
- Database schemas (visual)
34
- Integration patterns
35
36
## Quick Start
37
38
Minimal working example:
39
40
```mermaid
41
graph TB
42
subgraph "Client Layer"
43
Web[Web App]
44
Mobile[Mobile App]
45
CLI[CLI Tool]
46
end
47
48
subgraph "API Gateway Layer"
49
Gateway[API Gateway<br/>Rate Limiting<br/>Authentication]
50
end
51
52
subgraph "Service Layer"
53
Auth[Auth Service]
54
User[User Service]
55
Order[Order Service]
56
Payment[Payment Service]
57
Notification[Notification Service]
58
end
59
60
subgraph "Data Layer"
61
UserDB[(User DB<br/>PostgreSQL)]
62
OrderDB[(Order DB<br/>PostgreSQL)]
63
Cache[(Redis Cache)]
64
Queue[Message Queue<br/>RabbitMQ]
65
end
66
// ... (see reference guides for full implementation)
67
```
68
69
## Reference Guides
70
71
Detailed implementations in the `references/` directory:
72
73
| Guide | Contents |
74
|---|---|
75
| [System Architecture Diagram](references/system-architecture-diagram.md) | System Architecture Diagram |
76
| [Sequence Diagram](references/sequence-diagram.md) | Sequence Diagram |
77
| [C4 Context Diagram](references/c4-context-diagram.md) | C4 Context Diagram |
78
| [Component Diagram](references/component-diagram.md) | Component Diagram |
79
| [Deployment Diagram](references/deployment-diagram.md) | Deployment Diagram |
80
| [Data Flow Diagram](references/data-flow-diagram.md) | Data Flow Diagram |
81
| [Class Diagram](references/class-diagram.md) | Class Diagram |
82
| [Component Diagram](references/component-diagram-2.md) | Component Diagram |
83
| [Deployment Diagram](references/deployment-diagram-2.md) | Deployment Diagram |
84
85
## Best Practices
86
87
### ✅ DO
88
89
- Use consistent notation and symbols
90
- Include legends for complex diagrams
91
- Keep diagrams focused on one aspect
92
- Use color coding meaningfully
93
- Include titles and descriptions
94
- Version control your diagrams
95
- Use text-based formats (Mermaid, PlantUML)
96
- Show data flow direction clearly
97
- Include deployment details
98
- Document diagram conventions
99
- Keep diagrams up-to-date with code
100
- Use subgraphs for logical grouping
101
102
### ❌ DON'T
103
104
- Overcrowd diagrams with details
105
- Use inconsistent styling
106
- Skip diagram legends
107
- Create binary image files only
108
- Forget to document relationships
109
- Mix abstraction levels in one diagram
110
- Use proprietary formats
111

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,708 prompts

More by @OpenSourceBuffGuy

See all
Woman in gingham top at a Christmas record cafe prompt image

Woman in gingham top at a Christmas record cafe

Creates a Y2K compact-camera flash portrait of a woman in a red gingham outfit at a Christmas record café table, with every prop, light and lens detail given as JSON fields.

image-prompt, json-prompt, gpt-image, nano-banana, face-reference, portrait, woman, christmas, holiday, y2k, film-photography, film-grain, structured-output, photorealistic, medium-shot, cozy, night-scene, candid, smartphone-photo, vintage, music, food-photography, for-photographers, long-form, warm-colors, soft-lighting, still-life, fashion

Lovart hero banner with floating GPT Image 2 mockups prompt image

Lovart hero banner with floating GPT Image 2 mockups

Builds a futuristic AI product-launch hero banner from a JSON spec: a glowing app interface in the centre with floating posters, model menu and capability cards, all with exact text.

image-prompt, json-prompt, ui-mockup, text-rendering, structured-output, 3d-render, futuristic, neon, dramatic-lighting, widescreen, night-scene, bokeh, symmetry, mockup, social-media-graphic, poster, gpt-image, advertising, branding, luxury, cyberpunk, long-form, advanced, for-designers, for-marketers, product-photography, glassmorphism

Selfie vlog of a ramen bowl in kitchen prompt image

Selfie vlog of a ramen bowl in kitchen

Generates a 15-second handheld selfie-vlog of a young woman enjoying a ramen bowl, with eight timed shots, short spoken lines and an authentic phone-footage look.

video-prompt, hailuo, ugc-video, vlog, multi-shot, timed-beats, lip-sync, handheld, product-video, food-photography, smartphone-photo, negative-prompt, reference-image, image-to-video, short-form-video, tiktok, japan, woman, selfie, pov, close-up, high-angle, natural-light, character-consistency, cozy, for-content-creators

Reviews

Loading reviews…

Discussion

Loading comments…