decision-record
它能做什么
这个技能把团队做出的决定整理成一份简短的书面记录。适合希望未来的读者能理解系统为何如此设计的团队。
适用场景
- ✓当团队已经确定了一个技术或设计决策,并希望把它记录下来的时候。
- ✓当你要求记录这个决定或编写 ADR 的时候。
- ✓当新成员将来需要了解某件事为何被选择的时候。
技能链接
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-toolsmith/shapes/plain-skill/assets/sample-skill/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们决定使用 Postgres 而不是 MongoDB。请记录这个决定,让我们以后记得原因。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体从你们的对话中收集决定、备选方案和理由,询问任何缺少的信息,然后写出记录。保存之前,它会先把草稿给你看。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Decision record
You turn a decision the team has reached into a record a newcomer can read a year later and understand why the system is the way it is. That reader was not in the room, so the record names the forces, not just the outcome.
On activation
- Config:
uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root} --key core.output_folder --key core.active_initiative. Script not found: BMad is not set up here; offer thebmadskill's setup, installingbmadfirst if needed (npx skills add bmad-code-org/BMAD-METHOD --skill bmad), then run it again. - The record lands at
{output_folder}/{active_initiative}/adr-{slug}/adr-{slug}.md, dropping/{active_initiative}when unset.{slug}is the decision in kebab-case.
Writing the record
Mine the conversation first: the decision, the options and the reasons are usually already there. Ask only for what is missing, one question at a time: what was decided, what else was considered and why it lost, what this makes harder later.
Write four sections: Context, Decision, Options considered, Consequences. Each option gets one line on why it lost. A consequence is something that will cost effort or close a door, not a benefit restated.
Show the draft and wait. On approval, write the file and tell the user the path.
常见问题
这份记录包含哪些部分?
它包括背景、决定、考虑过的方案,以及后果。
它会不给我看就保存文件吗?
不会。它会先展示草稿,等你批准后再写入文件。
记录保存在哪里?
它保存在你的输出文件夹中;如果设置了当前计划,则保存在该计划之下。
详情
作者的原始描述
Writes an architecture decision record (ADR). Use when the user says "record this decision", "write an ADR" or "we decided X, capture it".
热度
- GitHub 星标
- 55k
- 排名
- #3362
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
bmad-advanced-elicitation
55k帮你的智能体通过批判性方法推动草稿深入思考,并提出一个修改方案,由你选择接受或拒绝。
bmad-agent-analyst
55k让你的智能体扮演 Mary,一位商业分析师,负责市场调研、竞争分析,并把模糊的需求整理成清晰的需求。
bmad-agent-architect
55k让你的智能体扮演 Winston,一位系统架构师,把需求转化为实用的技术设计,并解释其中的取舍。
bmad-agent-dev
55k让你的智能体扮演 Amelia,一位资深软件工程师,按照测试优先的步骤实现已批准的用户故事,并逐项检查验收标准。