doc-adr

仓库创建 2025年11月10日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由

标准化 ADR 写作流程,适合需要可追溯决策的工程团队。

▸ 风险提示

涉及仓库中文档读写,需相应权限与审查。

这个 Skill 做什么

生成符合 Context-Decision-Consequences 格式的单条 ADR 文档。

用 Context‑Decision‑Consequences 模板把单个架构决策写成 ADR,说明为什么要做这个决定、选了什么、比较过哪些替代项以及接受了哪些后果。在产出 BDD 后、需要记录重要设计选择或留存决策历史时使用,方便团队追溯与审计。特点是每篇 ADR 只聚焦一个决定、结构清晰便于权衡比较。

▸ 展开 SKILL.md 英文原文

Create an Architecture Decision Record (ADR) - Layer 5 of the SDD flow, documenting one architecture decision with Context-Decision-Consequences. Use after BDD when an architectural choice needs recording.

开发编程ADR文档模板决策记录Claude Code
16
Stars
3
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/vladm3105/aidoc-flow-framework/main/platforms/claude-code-plugin/skills/doc-adr/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/vladm3105/aidoc-flow-framework/main/platforms/claude-code-plugin/skills/doc-adr/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# doc-adr

## Purpose

Create an **Architecture Decision Record (ADR)** — Layer 5 of the SDD flow.
An ADR records **one** architecture decision using the Context-Decision-
Consequences pattern: why the decision is needed, what was chosen, the
alternatives weighed, and the consequences accepted.

**Layer**: 5 — the decision bridge between Container (PRD) and Component (SPEC);
ADR is not itself a C4 level.
**Upstream**: EARS, BDD (per the necessary-upstream contract; upstream PRD/BRD
lineage is reachable transitively via the @-tag chain).
**Downstream**: SPEC → TDD → IPLAN → Code.

Each ADR addresses **exactly one decision**. A new architectural choice gets a
new ADR (`ADR-02`, `ADR-03`, …) ra
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有