What problem does it solve?
Manual reviews of code, technical specifications, and pull request diffs frequently miss unhandled edge cases, boundary conditions, and untested branching paths, leading to avoidable bugs, security vulnerabilities, and production outages.
Core Features & Use Cases
- Exhaustive Path Tracing: Mechanically walks every branching path and boundary condition in provided content, eliminating intuition-based gaps in analysis.
- Scope-Aware Analysis: Automatically adjusts scope based on input type: for diffs, only scans changed hunks for reachable unhandled paths; for full files or functions, analyzes the entire provided content.
- Complementary Review Focus: Orthogonal to adversarial or style-focused code reviews, focuses solely on missing edge case handling without editorial commentary on code quality.
- Use Case: Use it to review a new payment processing function diff to catch unhandled edge cases like null transaction amounts, currency boundary limits, or missing timeout guards that are not addressed in the changed code.
Quick Start
Use the bmad-review-edge-case-hunter skill to analyze the attached authentication function diff for any unhandled edge cases related to input validation and error handling.