bmad-code-review

Reviews code changes adversarially using parallel review layers and structured triage.

Updated Jun 3, 2026
One-click install
npx skills add https://github.com/MathematicGuy/team-006-vin20k --skill bmad-code-review-mathematicguy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bmad-code-review
Source: https://github.com/MathematicGuy/team-006-vin20k/tree/main/.agent/skills/bmad-code-review
Command: npx skills add https://github.com/MathematicGuy/team-006-vin20k --skill bmad-code-review-mathematicguy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manual code reviews often miss subtle bugs, edge cases, and deviations from specifications. This Skill automates adversarial code review by running parallel review layers and triaging findings into actionable categories, so nothing slips through. ## Core Features & Use Cases - Parallel Adversarial Review: Launches three review layers — Blind Hunter (diff-only), Edge Case Hunter (diff plus project access), and Acceptance Auditor (diff plus spec) — to catch issues from multiple angles. - Structured Triage: Normalizes, deduplicates, and classifies findings into decision-needed, patch, defer, or dismiss buckets. - Sprint Integration: Writes findings to story files, syncs sprint-status.yaml, and supports customizable workflow overrides via TOML configuration. - Use Case: After finishing a feature branch, ask for a code review against main; the Skill gathers the diff, runs the review layers, presents triaged findings, and optionally applies patches automatically. ## Quick Start Say "run code review" or "review this code" and specify what to review, such as uncommitted changes, a branch diff against main, or a specific commit range.

Frequently Asked Questions about bmad-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an automated adversarial code review on my changes?▼

Trigger the workflow by saying "run code review" and specify the target: uncommitted changes, staged changes, a branch diff against a base branch, a commit range, or a pasted diff. The skill constructs the diff with git and launches parallel review layers.

What review layers does an adversarial code review workflow use?▼

It uses three parallel layers: a Blind Hunter that sees only the diff, an Edge Case Hunter with project read access, and an Acceptance Auditor that checks the diff against a spec file and context docs when provided.

Can I review code without a spec or story file?▼

Yes. The workflow supports a no-spec mode where the Acceptance Auditor layer is skipped. Findings that would require a decision are reclassified as patch or defer since there is no spec to resolve ambiguity against.

How are code review findings classified and handled?▼

Findings are normalized, deduplicated, and sorted into four buckets: decision-needed (requires human input), patch (unambiguous fix), defer (pre-existing issue), and dismiss (noise). Dismissed findings are dropped, and patches can be applied automatically.

Does the review workflow integrate with sprint tracking?▼

Yes. When a story file and sprint-status.yaml exist, the workflow writes findings into the story file, updates the story status to done or in-progress based on resolution, and syncs the corresponding entry in sprint-status.yaml.

What happens if a review subagent fails or returns empty results?▼

The failed layer name is recorded and the review proceeds with findings from the remaining layers. If zero findings remain and any layer failed, the user is warned that the review may be incomplete rather than reporting a clean pass.