bmad-review-edge-case-hunter

Trace code paths and report missing boundary guards in diffs.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/GenEducation/GenedUIProject --skill bmad-review-edge-case-hunter-geneducation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-review-edge-case-hunter
Source: https://github.com/GenEducation/GenedUIProject/tree/main/.gemini/skills/bmad-review-edge-case-hunter
Command: npx skills add https://github.com/GenEducation/GenedUIProject --skill bmad-review-edge-case-hunter-geneducation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you review code, specs, and diffs by tracing every reachable branch and boundary condition, so only missing handling is reported.

Core Features & Use Cases

  • Exhaustive Path Tracing: Walks control flow paths, early returns, loops, and boundary transitions to surface unhandled cases.
  • Diff-Focused Review: When given a change set, limits analysis to directly reachable paths from the edited lines.
  • Full-Content Review: When given a full file or function, analyzes the entire provided scope for missing guards.
  • Use Case: Use it to inspect a patch for missing null checks, off-by-one boundaries, absent defaults, and other unhandled conditions.

Quick Start

Review the provided content and return only the unhandled edge cases as JSON.

Frequently Asked Questions about bmad-review-edge-case-hunter

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

FAQPage Schema
How do I find unhandled edge cases in a code diff?

To find unhandled edge cases in a code diff, you perform systematic path tracing and boundary enumeration to surface missing guards. Diff-focused review walks control flow paths, early returns, loops, and boundary transitions directly reachable from edited lines, returning only missing handling as JSON.

What is exhaustive path tracing for boundary conditions?

Exhaustive path tracing for boundary conditions is a spec review technique that walks every reachable branch and boundary transition to identify absent defaults or missing null checks. It systematically enumerates paths to surface unhandled edge cases rather than reporting existing guards.

Can I review a full file for missing guards or does it only work on change hunks?

You can review a full file for missing guards or limit analysis to change hunks. Full-content review analyzes the entire provided scope for unhandled conditions, while diff-focused review restricts exhaustive boundary analysis directly to paths reachable from edited lines.

What is the best way to check a patch for off-by-one errors and missing null checks?

The best way to check a patch for off-by-one errors and missing null checks is applying diff-focused edge case hunting. It traces control flow paths directly reachable from edited lines and explicitly reports missing boundary condition guards as structured JSON.

Does edge case hunting report all existing boundary conditions in the code?

Edge case hunting does not report all existing boundary conditions in the code. It applies exhaustive path tracing and explicit reporting of only missing guards, ensuring the review output surfaces unhandled edge cases rather than documenting already handled logic.