Purpose
Document architecture decisions with context and rationale using Architecture Decision Records (ADR).
Usage
/architecture-decision [topic]- Document specific architecture decision
Steps
-
Prompt for decision context:
- What problem are we solving?
- What constraints exist?
-
Gather options considered:
- Option 1: Description, pros/cons
- Option 2: Description, pros/cons
- Option 3: Description, pros/cons
-
Document decision made:
- Which option chosen
- Why this option
- Trade-offs accepted
-
Link to related context:
- Related projects
- Implementation notes
-
Create ADR document in 06-Resources/Architecture_Decisions/
Output Format
# ADR: [Title]
**Date:** [Today]
**Status:** Accepted
**Deciders:** [Names]
## Context
[What problem are we solving? What constraints?]
## Options Considered
### Option 1: [Name]
**Pros:**
- [Pro 1]
**Cons:**
- [Con 1]
### Option 2: [Name]
[Same structure]
## Decision
We chose [Option] because [reasoning].
## Trade-offs
- [Trade-off accepted]
## Implementation Notes
[How to implement this decision]
微信扫一扫