Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bmad-code-org avatar

Bmad Code Review

  • 360 installs
  • 51.5k repo stars
  • Updated August 5, 2026
  • bmad-code-org/bmad-method

bmad-code-review is a BMAD-METHOD agent skill that runs structured adversarial code review on diffs using parallel review layers and triage steps for developers who need spec-aligned, security-aware feedback before merge

About

bmad-code-review is a bmad-code-org/BMAD-METHOD implementation skill that orchestrates elite code review inside coding agents. Activation loads `_bmad/bmm/config.yaml`, merges `customize.toml` overrides, and executes a four-step step-file workflow: gather context, launch parallel reviewers, triage findings, and present results. Step 2 launches Blind Hunter via `bmad-review-adversarial-general`, Edge Case Hunter via `bmad-review-edge-case-hunter`, and optionally Acceptance Auditor when a spec file exists, then collects Markdown findings for precision triage. Developers reach for bmad-code-review when they say "run code review" or "review this code" and need adversarial coverage across requirements, architecture, security, style, and test gaps instead of a single-pass summary. The workflow enforces sequential step files, checkpoint halts, and customization through team and user TOML layers under `_bmad/custom/`.

  • Requirement and architecture conformance checks on diffs
  • Security, error-handling, and edge-case scrutiny
  • Maintainability and consistency feedback with actionable fixes
  • Test coverage and regression risk assessment
  • Merge-ready review narrative for PRs

Bmad Code Review by the numbers

  • 360 all-time installs (skills.sh)
  • Ranked #268 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/bmad-code-org/bmad-method --skill bmad-code-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs360
repo stars51.5k
Last updatedAugust 5, 2026
Repositorybmad-code-org/bmad-method

How do you run structured adversarial code review on diffs?

Run structured AI-assisted code review on changes against requirements, architecture, security, style, and test coverage before merge or release.

Who is it for?

Developers preparing pull requests or release candidates who want BMAD parallel adversarial review with spec-aware Acceptance Auditor coverage when requirements files exist.

Skip if: Teams that only need a quick informal diff summary without step-file workflow, customization TOML, or multi-layer adversarial triage overhead.

When should I use this skill?

A developer says "run code review", "review this code", or asks for adversarial pre-merge review against requirements, architecture, security, style, and test coverage.

What you get

Triaged code-review findings report, parallel reviewer outputs, and categorized merge recommendations from the four-step BMAD review workflow.

  • Triaged findings report
  • Parallel reviewer Markdown outputs
  • Merge-ready review presentation

By the numbers

  • 4 sequential review step files in step-file architecture
  • 3 parallel review layers: Blind Hunter, Edge Case Hunter, Acceptance Auditor

Files

SKILL.mdMarkdownGitHub ↗

Code Review Workflow

Goal: Review code changes adversarially using parallel review layers and structured triage.

Your Role: You are an elite code reviewer. You gather context, launch parallel adversarial reviews, triage findings with precision, and present actionable results. No noise, no filler.

Subagents, when the capability is available, are an important part of this workflow. Use them as directed by the workflow steps. If you need an explicit user instruction to run them, ask once now for the whole workflow run.

Conventions

  • Bare paths (e.g. checklist.md) resolve from the skill root.
  • {skill-root} resolves to this skill's installed directory (where customize.toml lives).
  • {project-root}-prefixed paths resolve from the project working directory.
  • {skill-name} resolves to the skill directory's basename.

On Activation

Step 1: Resolve the Workflow Block

Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow

If the script fails, resolve the workflow block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:

1. {skill-root}/customize.toml — defaults 2. {project-root}/_bmad/custom/{skill-name}.toml — team overrides 3. {project-root}/_bmad/custom/{skill-name}.user.toml — personal overrides

Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by code or id replace matching entries and append new entries, and all other arrays append.

Step 2: Execute Prepend Steps

Execute each entry in {workflow.activation_steps_prepend} in order before proceeding.

Step 3: Load Persistent Facts

Treat every entry in {workflow.persistent_facts} as foundational context you carry for the rest of the workflow run. Entries prefixed file: are paths or globs under {project-root} — load the referenced contents as facts. All other entries are facts verbatim.

Step 4: Load Config

Load config from {project-root}/_bmad/bmm/config.yaml and resolve:

  • project_name, planning_artifacts, implementation_artifacts, user_name
  • communication_language, document_output_language, user_skill_level
  • date as system-generated current datetime
  • sprint_status = {implementation_artifacts}/sprint-status.yaml
  • project_context = **/project-context.md (load if exists)
  • CLAUDE.md / memory files (load if exist)
  • YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config {communication_language}

Step 5: Greet the User

Greet {user_name}, speaking in {communication_language}.

Step 6: Execute Append Steps

Execute each entry in {workflow.activation_steps_append} in order.

Activation is complete. If activation_steps_prepend or activation_steps_append were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.

WORKFLOW ARCHITECTURE

This uses step-file architecture for disciplined execution:

  • Micro-file Design: Each step is self-contained and followed exactly
  • Just-In-Time Loading: Only load the current step file
  • Sequential Enforcement: Complete steps in order, no skipping
  • State Tracking: Persist progress via in-memory variables
  • Append-Only Building: Build artifacts incrementally

Step Processing Rules

1. READ COMPLETELY: Read the entire step file before acting 2. FOLLOW SEQUENCE: Execute sections in order 3. WAIT FOR INPUT: Halt at checkpoints and wait for human 4. LOAD NEXT: When directed, read fully and follow the next step file

Critical Rules (NO EXCEPTIONS)

  • NEVER load multiple step files simultaneously
  • ALWAYS read entire step file before execution
  • NEVER skip steps or optimize the sequence
  • ALWAYS follow the exact instructions in the step file
  • ALWAYS halt at checkpoints and wait for human input

FIRST STEP

Read fully and follow: ./steps/step-01-gather-context.md

Related skills

How it compares

Pick bmad-code-review for BMAD multi-layer adversarial diff review with triage; use a single-pass review skill when you only need informal feedback without parallel hunters or spec auditing.

FAQ

What review layers does bmad-code-review launch?

bmad-code-review launches Blind Hunter and Edge Case Hunter in parallel on the diff, and includes Acceptance Auditor when a spec file is provided. Blind Hunter invokes bmad-review-adversarial-general; findings are triaged before presentation.

When is Acceptance Auditor skipped in bmad-code-review?

bmad-code-review sets review_mode to no-spec when no spec file is provided, skipping Acceptance Auditor while still running Blind Hunter and Edge Case Hunter. Developers see an explicit note that acceptance auditing was skipped.

How does bmad-code-review enforce workflow discipline?

bmad-code-review uses step-file architecture with four sequential steps and checkpoint halts. Agents must read each step file completely, never load multiple steps simultaneously, and merge customization from base, team, and user TOML files.

Code Review & Qualitygittestingbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.