with one click
architecture
Evaluate and design system architecture and API design
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Evaluate and design system architecture and API design
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Review pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity
| name | architecture |
| version | 1.0.0 |
| description | Evaluate and design system architecture and API design |
| uses | ["analysis/deep-analysis","planning/strategic-planning"] |
| requires | {"tools":[],"env":[]} |
| security | {"risk_level":"read","capabilities":["file:read"],"requires_approval":false} |
Evaluate and design system architecture and API design. This skill covers both assessing existing architecture and designing new systems — structure, patterns, trade-offs, and decisions.
This is an agent-handled skill (handler: type: agent). When architect is invoked, you (the agent) apply the methodology below using your reasoning capabilities. There is no backing code — you follow these instructions directly. The tool schema in tool.yaml defines the external contract; this document guides how you fulfill it.
Before designing, understand:
Map what exists:
Select patterns appropriate to the problem:
| Pattern | Good For | Trade-off |
|---|---|---|
| Layered | Clear separation of concerns | Can lead to unnecessary indirection |
| Event-driven | Loose coupling, async processing | Harder to debug and trace |
| Microservices | Independent deployment, scaling | Operational complexity |
| Monolith | Simple deployment, easy debugging | Scaling entire unit |
| Plugin/Extension | Extensibility without core changes | Plugin API maintenance burden |
| Pipeline | Data transformation chains | Each stage must handle errors |
| Repository | Central data access | Can become a bottleneck |
For each component:
For each interface:
Every architectural decision has trade-offs. Document them:
Decision: [what was decided]
Context: [why this decision was needed]
Options considered:
- Option A: [pros] / [cons]
- Option B: [pros] / [cons]
Chosen: [which option and why]
Consequences: [what follows from this decision]
Architectural Decision Records persist the reasoning:
## Architecture: [System/Feature]
### Requirements
- Functional: [key requirements]
- Non-functional: [performance, availability, scalability]
- Constraints: [technology, budget, timeline]
### Current State (if applicable)
- Components: [list]
- Pain points: [list]
- Strengths: [list]
### Proposed Architecture
- Pattern: [selected pattern and why]
- Components:
| Component | Responsibility | Interface | Dependencies |
|-----------|---------------|-----------|-------------|
| [name] | [what it does] | [API] | [what it needs] |
### API Design
- Style: [REST/GraphQL/RPC/internal]
- Key endpoints/methods: [list]
- Error handling: [approach]
### Trade-offs
| Decision | Chosen | Alternative | Why |
|----------|--------|-------------|-----|
| [decision] | [option] | [other options] | [reasoning] |
### ADR
- Title: [decision title]
- Status: [proposed/accepted]
- Decision: [what was decided]
- Consequences: [positive and negative]
Architecture work is complete when: