- •Read the target feature spec
spec/features/F-XXXX-*.mdand any related code changes (diff). - •Decide if any of these happened:
- •A major design choice was made/changed (architecture, data model, interfaces, metrics)
- •A tradeoff was chosen (perf vs cost vs correctness)
- •A new dependency/technology was introduced
- •If yes, create or update an ADR under
spec/decisions/:- •Prefer
spec/templates/adr.mdif present. - •Use a concise format: Context, Decision, Alternatives, Consequences, Links.
- •Prefer
- •Ensure the feature spec links to the ADR(s) in a “Decisions/ADRs” section.
- •End by recommending
docs-index-refreshordocs-update.
adr-review
确保在功能层面记录并关联架构决策(创建/更新 ADR)。
SKILL.md
--- frontmattername: adr-review description: Ensure architectural decisions are recorded and linked (create/update ADRs) at feature level.