bmad-review-edge-case-hunter

Enumerate branching and boundary-condition paths in code diffs to find unhandled edge cases.

2|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/cassioalexandre/agf --skill bmad-review-edge-case-hunter-cassioalexandre
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-review-edge-case-hunter
Source: https://github.com/cassioalexandre/agf/tree/main/_bmad/core/bmad-review-edge-case-hunter
Command: npx skills add https://github.com/cassioalexandre/agf --skill bmad-review-edge-case-hunter-cassioalexandre

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you avoid silent failures by systematically enumerating branching and boundary-condition paths that your code review or diff may have missed, focusing only on unhandled edge cases.

Core Features & Use Cases

  • Diff-scoped path tracing: Scans only the provided diff hunks and enumerates reachable boundary paths lacking explicit guards in the diff.
  • Full-content fallback: When no diff is provided, treats the entire provided content as the scope and enumerates all branching/boundary conditions within it.
  • Method-driven findings only: Reports only unhandled paths and conditions, without evaluating whether the code is “good” or “bad,” and with a strict JSON-only output contract.

Quick Start

Ask your agent to review the provided diff content using bmad-review-edge-case-hunter and return only JSON findings for missing boundary guards.

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 missing guard conditions in a code diff?

You enumerate branching and boundary-condition paths within the provided diff hunks to identify missing guard conditions. This method reports only unhandled edge cases in strict JSON format without evaluating overall code quality.

What is boundary testing for unhandled edge cases in code review?

Boundary testing for unhandled edge cases systematically enumerates branching paths to detect silent failures. It traces reachable boundary paths lacking explicit guards within provided code content or diff hunks.

Can I analyze full source files instead of diff hunks for edge cases?

Yes, when no diff is provided, the analysis treats the entire provided content as the scope. It enumerates all branching and boundary conditions within that full content to find missing guards.

How do I get structured JSON reporting for missing guards?

You get structured JSON reporting for missing guards by executing path enumeration on your diff and requesting a JSON-only findings output. This enforces a strict output contract containing only unhandled paths and conditions.

What is the scope limit for diff analysis path enumeration?

Diff analysis path enumeration is strictly limited to the provided diff hunks. It scans only those modified sections to enumerate reachable boundary paths, ensuring findings are scoped exclusively to the changes.

Does this edge case detection evaluate whether the code is good or bad?

No, the edge case detection is method-driven and reports only unhandled paths and conditions. It strictly avoids evaluating whether the code is good or bad, focusing solely on missing boundary guards.