跳到正文
Skillpedia
技术文档55k · #3362

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-toolsmith/shapes/plain-skill/assets/sample-skill/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. 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 the bmad skill's setup, installing bmad first if needed (npx skills add bmad-code-org/BMAD-METHOD --skill bmad), then run it again.
  2. 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".

repo: bmad-code-org/BMAD-METHOD

热度

GitHub 星标
55k
排名
#3362
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能