bmad-code-review
它能做什么
这个技能让 AI 智能体使用多个并行工作的审查员检查代码改动。适合希望在合并前再仔细审视一遍的开发者。
适用场景
- ✓当你在合并前请求审查代码或拉取请求的时候。
- ✓当你想从多个角度进行快速或全面的审查的时候。
- ✓当你希望审查结果经过整理和说明,而不只是罗列的时候。
技能链接
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-code-review/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用多个审查员审查这个功能的代码改动,并按重要程度整理审查结果。”
每周 5 个新技能,1 分钟读完。
工作原理
多个审查员并行查看改动。然后智能体会对他们的发现进行分组和排序,再呈现给你。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Run the following command exactly once without changing the current working directory.
Replace {project-root} with the nearest folder containing _bmad/, from the working directory upward.
Replace {skill-root} with the absolute path to this skill's directory.
If the invocation asks for a quick or thorough review, append --set workflow.review=<value> to the command.
If the invocation asks for a no-code review, append --set workflow.fixes=handoff to the command.
If the invocation is clearly non-interactive -- it says not to ask questions, or a bot, a CI job or another workflow is running the review -- append --set workflow.interactive=false. When in doubt, don't.
uv run --no-cache "{project-root}/_bmad/scripts/render_skill.py" --project-root "{project-root}" --skill "{skill-root}"
- The command prints the skill's workflow: follow it.
HALT: <reason>: report the reason and stop. - If the script does not exist, BMad is not set up in this project yet. Offer to set it up using
bmadskill, then run the command again. If you do not have thebmadskill, offer to install it first. - On any other output or failure, including
uvbeing unavailable, report the command output and stop. Do not run any workflow source directly.
常见问题
有多少个审查员?
该技能使用多个独立的审查员,你可以要求快速审查或全面审查。
它可以在不提问的情况下运行吗?
可以。当机器人、CI 任务或其他工作流运行它时,该技能可以不提问地运行。
我需要设置 BMad 吗?
需要。如果缺少设置脚本,该技能会提议为你设置 BMad。
详情
作者的原始描述
Review code changes with several independent reviewers in parallel, then triage and present the findings. Use when the user says "run code review" or "review this code"
热度
- GitHub 星标
- 55k
- 排名
- #3348
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
bmad-advanced-elicitation
55k帮你的智能体通过批判性方法推动草稿深入思考,并提出一个修改方案,由你选择接受或拒绝。
bmad-agent-analyst
55k让你的智能体扮演 Mary,一位商业分析师,负责市场调研、竞争分析,并把模糊的需求整理成清晰的需求。
bmad-agent-architect
55k让你的智能体扮演 Winston,一位系统架构师,把需求转化为实用的技术设计,并解释其中的取舍。
bmad-agent-dev
55k让你的智能体扮演 Amelia,一位资深软件工程师,按照测试优先的步骤实现已批准的用户故事,并逐项检查验收标准。