bmad-review-edge-case-hunter

Analyze code, specifications, or diffs for unhandled edge cases and report findings in JSON.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/petrkohut/bmad-todo-app --skill bmad-review-edge-case-hunter-petrkohut
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-review-edge-case-hunter
Source: https://github.com/petrkohut/bmad-todo-app/tree/main/.github/skills/bmad-review-edge-case-hunter
Command: npx skills add https://github.com/petrkohut/bmad-todo-app --skill bmad-review-edge-case-hunter-petrkohut

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) components.

What problem does it solve?

This Skill provides an exhaustive analysis of edge cases in code, specifications, or diffs, ensuring that no unhandled conditions are overlooked.

Core Features & Use Cases

  • Exhaustive Path Analysis: Walks every branching path and boundary condition within the provided content.
  • Diff and Full Content Analysis: Can handle diffs, full files, or functions.
  • Optional Scope Expansion: Allows additional areas to be considered during the review.
  • Output Format: Provides findings in a structured JSON array format.
  • Use Case: Ideal for code reviews where thorough edge-case analysis is critical, such as in security-critical applications or complex algorithms.

Quick Start

Run the bmad-review-edge-case-hunter skill on the provided code diff to identify unhandled edge cases.

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 before merging?

Edge-case analysis for security-critical applications involves exhaustively walking every branching path and boundary condition to identify unhandled conditions. This ensures no potential security vulnerabilities or unexpected behaviors are overlooked during code reviews.

What is the best way to analyze edge cases in software specifications?

Yes, you can perform edge-case analysis on full files or functions, not just diffs. The analysis walks every branching path and boundary condition within the provided content to identify and report any unhandled edge cases.

How do I automate edge-case detection for quality assurance in Python?

Yes, edge-case analysis supports full files and functions. You can provide full content instead of diffs, and the analysis will walk every branching path and boundary condition to identify unhandled edge cases.

Does edge-case analysis work with full files or only diffs?

Edge-case analysis works with both full files and diffs. It can process full files, functions, or diffs to walk every branching path and boundary condition, identifying and reporting unhandled edge cases in a structured JSON format.

What format does the edge-case analysis output use?

The edge-case analysis output uses a structured JSON array format. It identifies unhandled edge cases by walking every branching path and boundary condition, providing the findings in a structured JSON array for easy integration into code reviews.

When do I need exhaustive edge-case analysis for code reviews?

You need exhaustive edge-case analysis for code reviews when dealing with security-critical applications or complex algorithms. It walks every branching path and boundary condition to ensure no unhandled conditions are overlooked, providing findings in a structured JSON format.