review-edge-case-hunter

Identify unhandled edge-case paths in code, specs, functions, and diffs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill finds unhandled edge cases and missing safeguards that can be overlooked during code, specification, or diff reviews.

Core Features & Use Cases

  • Exhaustive Path Tracing: Walks branching paths, loops, error handlers, early returns, and domain boundaries methodically.
  • Scope-Aware Review: Analyzes only the supplied diff, file, function, or explicitly referenced content.
  • Structured Findings: Reports only unhandled conditions with locations, trigger conditions, guard sketches, and potential consequences in a strict JSON format.
  • Use Case: Apply it to a pull request that changes validation or transaction logic to reveal missing null checks, boundary handling, timeout coverage, or default branches.

Quick Start

Ask the edge case hunter to analyze the provided code diff and return only unhandled paths as the required JSON array.

Frequently Asked Questions about 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?

To find unhandled edge cases in a code diff, you can analyze the supplied changes for exhaustively traced branching paths, loops, error handlers, and input boundaries. This process exposes missing null checks, timeout coverage, and default branches by reporting only unhandled conditions with their trigger conditions and potential consequences.

What is the best way to trace boundary conditions and control flow during a code review?

Tracing boundary conditions and control flow during a code review requires methodically walking branching paths, early returns, and domain boundaries. This approach isolates unhandled paths and missing safeguards, ensuring that invalid inputs and race conditions are caught by applying strict scope control to the explicitly provided content.

Can I use static analysis to check for missing error handling in specific functions?

Yes, you can check for missing error handling in specific functions by performing a scope-aware review of the explicitly referenced content. This targeted analysis inspects the function's control flow and error handlers to identify unhandled paths and generate guard sketches without scanning the entire codebase.

How do I get structured JSON findings for unhandled paths in my pull request?

You get structured JSON findings for unhandled paths by analyzing the pull request diff and requesting the output as a required JSON array. The analysis reports exact locations, trigger conditions, guard snippets, and potential consequences for each unhandled edge case discovered within the provided changes.

Does edge case analysis work on race conditions and timeout behavior?

Yes, edge case analysis works on race conditions and timeout behavior by applying exhaustive reviews of control flow and domain boundaries. It systematically traces these specific conditions within the explicitly provided content to expose missing safeguards and report their potential consequences.

What are the limitations of using automated path analysis for finding missing safeguards?

The limitation of automated path analysis for finding missing safeguards is that it requires strict scope control, meaning it only analyzes explicitly supplied diffs, files, or functions. It cannot infer context from unprovided code and relies entirely on ordered analysis steps and halt-condition handling to prevent unbounded scanning.