원클릭으로
architecture-diagramming
Generate Mermaid architecture diagrams showing system components, layers, and data flows
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate Mermaid architecture diagrams showing system components, layers, and data flows
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Proactively identify at-risk issues and PRs: stale items, blocked work, deadline risks, scope creep, and unassigned high-priority items
Extract common questions from closed GitHub issues and generate an FAQ document with answers
Search project notes by topic, synthesize findings into a consolidated summary with cross-references
Proactively identify information gaps in project context and generate actionable questions to surface missing requirements, unclear specifications, or documentation gaps
Generate Mermaid dependency graphs showing issue relationships, blocking chains, and critical paths
Decompose project descriptions into well-structured GitHub issues with user stories, acceptance criteria, dependencies, and estimates
| name | architecture-diagramming |
| description | Generate Mermaid architecture diagrams showing system components, layers, and data flows |
| instructions | When visualizing system architecture, component relationships, layers, or data flows as diagrams |
| allowed-tools | read_project_file get_project_scan add_note list_project_directory |
Generate clear, GitHub-compatible Mermaid architecture diagrams that visualize system components, layers, boundaries, and data flows.
Activate this skill when:
| Tool | Purpose |
|---|---|
read_project_file | Read existing code to understand structure |
get_project_scan | Get cached project scan with structure and language data |
add_note | Save diagram to project notes |
list_project_directory | Explore project structure |
Parentheses in Mermaid labels cause rendering errors on GitHub.
WRONG - Will break:
flowchart TD
A[Component (main)]
B[Service (auth)]
CORRECT - Use dashes or commas:
flowchart TD
A[Component - main]
B[Service - auth]
Each node shape uses specific brackets that must match:
[Rectangle] - Standard component{Diamond} - Decision point([Stadium]) - Pill shape[(Database)] - Cylinder for data stores((Circle)) - Circle nodeWRONG:
flowchart TD
A{Decision]
CORRECT:
flowchart TD
A{Decision}
Show major components and their relationships:
flowchart TB
subgraph Client Layer
Web[Web App]
Mobile[Mobile App]
end
subgraph API Layer
Gateway[API Gateway]
Auth[Auth Service]
end
subgraph Data Layer
DB[(Database)]
Cache[(Redis Cache)]
end
Web --> Gateway
Mobile --> Gateway
Gateway --> Auth
Gateway --> DB
Auth --> Cache
Show horizontal layers with clear boundaries:
flowchart TB
subgraph Presentation
UI[User Interface]
API[REST API]
end
subgraph Business
Services[Business Services]
Rules[Business Rules]
end
subgraph Data
Repos[Repositories]
Entities[Domain Entities]
end
UI --> Services
API --> Services
Services --> Rules
Services --> Repos
Repos --> Entities
Show how a request flows through the system:
flowchart LR
Client[Client] --> LB[Load Balancer]
LB --> API1[API Server 1]
LB --> API2[API Server 2]
API1 --> Queue[(Message Queue)]
API2 --> Queue
Queue --> Worker[Background Worker]
Worker --> DB[(Database)]
Show service boundaries and communication:
flowchart TB
subgraph Public
Gateway[API Gateway]
end
subgraph Services
UserSvc[User Service]
OrderSvc[Order Service]
PaymentSvc[Payment Service]
end
subgraph Infrastructure
MQ[(Message Queue)]
Cache[(Shared Cache)]
end
Gateway --> UserSvc
Gateway --> OrderSvc
OrderSvc --> PaymentSvc
OrderSvc --> MQ
PaymentSvc --> MQ
UserSvc --> Cache
Common layers to consider:
Use subgraphs to show:
Create a clean Mermaid diagram that:
Use clear, abbreviated names:
API not ApplicationProgrammingInterfaceAuth not AuthenticationServiceDB or use [(Name)] for databasesQueue or MQ for message queues| Arrow | Meaning |
|---|---|
--> | Standard request/response |
-.-> | Async or optional |
==> | Critical path |
--text--> | Labeled relationship |
flowchart TB
subgraph External[External Systems]
PaymentAPI[Payment Gateway]
EmailAPI[Email Service]
end
subgraph Internal[Internal Services]
App[Application]
end
App --> PaymentAPI
App --> EmailAPI
Given a description of a "REST API with authentication and database":
flowchart TB
subgraph Client Layer
Web[Web Client]
Mobile[Mobile Client]
end
subgraph API Layer
Gateway[API Gateway]
AuthSvc[Auth Service]
CoreAPI[Core API]
end
subgraph Data Layer
DB[(PostgreSQL)]
Cache[(Redis)]
Sessions[(Session Store)]
end
Web --> Gateway
Mobile --> Gateway
Gateway --> AuthSvc
Gateway --> CoreAPI
AuthSvc --> Sessions
AuthSvc --> Cache
CoreAPI --> DB
CoreAPI --> Cache
dependency-mapping for issue visualization