返回 Skill 列表
extension
分类: 开发与工程无需 API Key

architecture-decision

记录架构选择

person作者: jakexiaohubgithub

Purpose

Document architecture decisions with context and rationale using Architecture Decision Records (ADR).

Usage

  • /architecture-decision [topic] - Document specific architecture decision

Steps

  1. Prompt for decision context:

    • What problem are we solving?
    • What constraints exist?
  2. Gather options considered:

    • Option 1: Description, pros/cons
    • Option 2: Description, pros/cons
    • Option 3: Description, pros/cons
  3. Document decision made:

    • Which option chosen
    • Why this option
    • Trade-offs accepted
  4. Link to related context:

    • Related projects
    • Implementation notes
  5. 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]