bmad-review
Skill này làm gì
Skill này khiến agent AI rà soát mã hoặc tài liệu từ nhiều góc độ và chỉ báo cáo các phát hiện thật. Skill dành cho bất kỳ ai muốn một lần rà soát kỹ trước khi thay đổi hoặc tài liệu được duyệt.
Khi nào nên dùng
- ✓Khi bạn yêu cầu review một diff, pull request hoặc tài liệu.
- ✓Khi bạn muốn một phê bình đối kháng về thay đổi trước khi phát hành.
- ✓Khi bạn muốn rà soát văn phong hoặc cấu trúc của một tài liệu.
Liên kết skill
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-review/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Review pull request này từ nhiều góc độ, và chỉ cho tôi những vấn đề thật sự.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chạy một hoặc nhiều lăng kính review, mỗi lăng kính có phương pháp và lập trường riêng. Sau đó nó báo cáo các phát hiện theo một định dạng nhất quán, không thêm nội dung cho danh sách dài ra.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
BMad Review
Review content through lenses — each a distinct method and stance — and report findings in one canonical shape. Report what is real — never pad to look thorough. Each lens sets its own stance toward the content and toward zero findings: for most an empty result is valid; the adversarial lens requires at least ten concrete findings and treats an empty list as a signal to re-check; the editorial lenses hold content sacrosanct and critique only how it is organized and expressed.
The lens set is whatever {workflow.lenses} resolves to, not a fixed list — overrides add lenses and replace shipped ones. Never claim a capability from this file; read the resolved lenses and work from those.
Inputs
- content — what to review: a diff, branch, uncommitted changes, file, ticket (initiative, epic, story, spike, bug), or any document. Args:
[path]. - lenses (optional) — one or more lens codes or names, however the caller expresses them: a spoken request, or a directive of the form
skill:bmad-review lenses=<code>[,<code>...](the form bmm'sdoc_standardsuses). Default: every applicable lens (a full review). - also_consider (optional) — areas to keep in mind alongside each lens's normal analysis.
- claims (optional) — the change's own narrative: the commit messages it covers, or whatever description of it the caller supplied. Goes to the edge-case lens alone.
- pre-resolved customization (optional) —
[workflow]field values supplied by a forwarding caller. See Execution step 1.
Conventions
- Bare paths (e.g.
references/lens-edge-case-hunter.md) resolve from{skill-root}— this skill's installed directory, wherecustomize.tomllives.{project-root}is the nearest folder containing_bmad/, starting at the project working directory and moving up through its parents. {workflow.<name>}resolves to fields incustomize.toml's[workflow]table (overrides win per BMad merge rules).- In
style_guide,review_guidance, andpersistent_facts, a value prefixedfile:is a path or glob — load that file's contents. If afile:value cannot be read, name the failed file in the output header and continue: the shipped baseline forstyle_guide, the remaining entries otherwise.
Execution
Resolve customization:
uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow.- Script not found: BMad is not set up here. Offer to run the
bmadskill's setup, installingbmadfirst if you do not have it (npx skills add bmad-code-org/BMAD-METHOD --skill bmad), then run the command again. - Any other failure: read
{skill-root}/customize.tomldirectly and use defaults.
Forwarded activation: if a caller invoked you with pre-resolved customization fields (e.g. the
bmad-editorial-reviewshim), honor them verbatim for those named fields — they already carry the user's overrides — and resolve only the remaining fields from your owncustomize.toml. Then execute each{workflow.activation_steps_prepend}entry in order, hold{workflow.persistent_facts}as standing context for the session, and treat{workflow.review_guidance}entries as standing review directives for every lens.- Script not found: BMad is not set up here. Offer to run the
Load the content. Stage it once as a file: when the content is a branch, uncommitted work, or a commit range, use the repository's version-control tooling to write the unified diff to a uniquely-named file in the system temp directory and take that file's absolute path as the content. A branch means its diff against the merge base with its base branch; uncommitted work includes untracked files. Stage
claimsto its own file the same way — it is input for one lens, staged separately precisely so the other lenses never see it. If the content is empty or cannot be decoded as text: when the caller expects the raw findings JSON array (e.g. the legacy edge-case forwarder), return[{"location":"N/A","trigger_condition":"Input empty or undecodable","guard_snippet":"Provide valid content to review","potential_consequence":"Review skipped — no analysis performed"}](nolensfield) and stop; otherwise say what's wrong and ask for reviewable content. Classify the content — diff, source file, function, or document — and whether it is code or docs; scope rules and lens applicability both depend on it. A document that defines behavior (a ticket, a plan, requirements) isdocsthat a behavioral lens may s
Câu hỏi thường gặp
Nó có luôn tìm ra điều gì đó không?
Không. Skill chỉ báo cáo các phát hiện thật, và kết quả rỗng là một kết quả hợp lệ với hầu hết các lăng kính.
Lăng kính là gì?
Lăng kính là một phương pháp review với trọng tâm riêng, chẳng hạn các trường hợp biên, cấu trúc hoặc văn phong.
Tôi có thể chọn lăng kính nào chạy không?
Có. Bạn có thể nêu một hoặc nhiều lăng kính, hoặc chạy toàn bộ bộ lăng kính phù hợp.
Chi tiết
Mô tả gốc của tác giả
Runs one or more installed review lenses — adversarial critique, edge cases, verification gaps, structure, prose — and reports triaged findings. Use when, and only when, the user asks you to review a diff, a pull request, or an artifact — code or documents, one or many — and actually says "review"; an explicit skill:bmad-review directive from another skill counts as that ask. A request to act on feedback from an earlier review is a change, not a review. Never invoke this uninvited, including on edits you just made.
Độ phổ biến
- Sao GitHub
- 55k
- Vị trí xếp hạng
- #3359
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
bmad-advanced-elicitation
55kGiúp agent của bạn cải thiện một bản nháp bằng cách đưa nó qua các phương pháp phê bình và đề xuất một bản sửa, bạn có thể chấp nhận hoặc từ chối.
bmad-agent-analyst
55kGiúp agent của bạn đóng vai Mary, một chuyên viên phân tích kinh doanh làm nghiên cứu thị trường, phân tích cạnh tranh và biến nhu cầu mơ hồ thành yêu cầu rõ ràng.
bmad-agent-architect
55kGiúp agent của bạn đóng vai Winston, một kiến trúc sư hệ thống biến yêu cầu thành thiết kế kỹ thuật thực tế và giải thích các đánh đổi.
bmad-agent-dev
55kGiúp agent của bạn đóng vai Amelia, kỹ sư phần mềm cao cấp, xây dựng user story đã duyệt theo hướng viết test trước và kiểm tra từng tiêu chí.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.