bmad-review-edge-case-hunter

Enumerate control flow paths to identify unhandled edge cases in code, specs, or diffs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill identifies unhandled edge cases in code, specs, or diffs, ensuring no potential issues are overlooked.

Core Features & Use Cases

  • Edge Case Analysis: Identifies unhandled edge cases in code, specs, or diffs.
  • Method-Driven: Focuses on paths and conditions lacking explicit handling, rather than subjective judgment.
  • Use Case: Use this Skill to analyze a diff in a codebase to find potential vulnerabilities or oversights that might not be evident in a regular code review.

Quick Start

Analyze the edge cases in the diff provided for 'file.js'.

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, perform exhaustive path analysis on the changes to mechanically enumerate control flow and domain boundaries. This identifies conditions lacking explicit handling without subjective bias.

What is mechanical path enumeration for edge case analysis?

Mechanical path enumeration for edge case analysis is a method that focuses on paths and conditions lacking explicit handling rather than subjective judgment. It systematically checks control flow and domain boundaries to ensure thorough coverage.

Can I analyze specification documents for potential vulnerabilities without external dependencies?

Yes, you can analyze specification documents for potential vulnerabilities without external dependencies using automated edge case analysis. The process requires no external dependencies for basic functionality, focusing on exhaustive path analysis to identify oversights.

Does edge case analysis work for both full codebase review and diff inspection?

Yes, edge case analysis works for both full codebase review and diff inspection. It performs exhaustive path analysis on code, specs, or diffs to identify unhandled conditions, ensuring no potential issues are overlooked during regular reviews.

Why does regular code review miss potential oversights that path analysis catches?

Regular code review misses potential oversights because it relies on subjective judgment, whereas path analysis catches them through mechanical enumeration of control flow and domain boundaries. This method-driven approach focuses on paths lacking explicit handling to find vulnerabilities not evident normally.

What is the best way to identify unhandled domain boundaries in specifications?

The best way to identify unhandled domain boundaries in specifications is to perform exhaustive path analysis using a method-driven approach. This mechanically enumerates paths and conditions lacking explicit handling, ensuring thorough edge-case coverage without subjective bias.