| name | architecture-decomposition |
| description | Break the specification into logical architectural components. Use when identifying system components, data flows, external dependencies, and boundaries. |
| license | MIT |
| compatibility | Claude Code, GitHub Copilot, OpenCode, Cursor, Codex, Gemini CLI |
| metadata | {"author":"paruff","suite":"uFawkesAI"} |
Skill: Architecture Decomposition
Load trigger: "load architecture-decomposition skill" > DORA: Cap 3 (AI-Accessible Internal Data)
Token cost: Low
Purpose
Break the specification into logical architectural components.
Responsibilities
- Identify major system components
- Identify data flows between components
- Identify external dependencies
- Identify boundaries and responsibilities
Inputs
Outputs
Decomposition Rules
Component Identification
Data Flow
External Dependencies
Boundaries
Architecture Patterns
| Pattern | Use When |
|---|
| Monolith | Simple domain, small team, fast iteration |
| Microservices | Complex domain, independent scaling, team autonomy |
| Event-Driven | Async workflows, loose coupling, audit trail |
| CQRS | Read/write optimization, complex queries |
| Serverless | Variable load, event-driven, minimal ops |
Output Format
{
"components": [
{
"name": "Component Name",
"purpose": "What it does",
"responsibility": "What it owns",
"layer": "ui | service | data | infrastructure",
"dependencies": ["Other Component"],
"external_dependencies": ["External API"]
}
],
"data_flows": [
{
"from": "Component A",
"to": "Component B",
"type": "sync | async",
"data": "What is transferred"
}
],
"boundaries": [
{
"type": "layer | trust | integration",
"description": "Boundary description"
}
]
}
Success Criteria
- Architecture is clear and logically decomposed
- Components have single responsibilities
- Data flows documented