bmad-review-edge-case-hunter

Identify unhandled edge cases in code diffs, files, or functions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The skill identifies and reports on edge cases in code that are not explicitly handled, providing a comprehensive review of a given codebase.

Core Features & Use Cases

  • Edge Case Detection: Identifies unhandled edge cases within code, including control flow and domain boundary conditions.
  • Diff Analysis: Analyzes diffed code to detect potential issues in specific branches or paths.
  • Function or File Review: Provides a thorough check for any code block, whether it is a full file, a function, or part of a diff.
  • Use Case: When reviewing a codebase or diff, use the bmad-review-edge-case-hunter skill to ensure that no edge cases are missed in the review process.

Quick Start

Run the bmad-review-edge-case-hunter skill on the code diff or file you wish to review.

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 detect unhandled edge cases in a code review?

Edge case detection in a code review is performed by analyzing control flow, branches, paths, and domain boundaries to identify unhandled conditions. The skill outputs a JSON list of unhandled paths and conditions found in the provided code.

Can I analyze a git diff to find unhandled branches and conditions?

Yes, you can analyze a git diff to find unhandled branches and conditions. The skill operates directly on provided diffs, full files, or specific functions to detect potential edge case issues in the updated code paths.

What is edge case analysis for software quality and how does it work?

Edge case analysis for software quality is the process of identifying unhandled inputs and boundary conditions in code. It works by examining control flow paths and domain boundaries to ensure all potential execution scenarios are explicitly addressed.

Does the edge case analysis output structured data for defect tracking?

Yes, edge case analysis outputs structured data for defect tracking. The skill generates a JSON format that lists specific unhandled paths and conditions, allowing direct integration into defect detection workflows.

Can I review a specific function for domain boundary edge cases?

Yes, you can review a specific function for domain boundary edge cases. The skill accepts full files, individual functions, or diffs as input and thoroughly checks those code blocks for unhandled boundary conditions.

What are the limitations of automated edge case detection?

Automated edge case detection operates strictly on the provided code, diffs, or functions, and incorporates optional additional areas to consider. It is limited to identifying unhandled paths and conditions explicitly present in the analyzed code structure.