mh-review-edge-case-hunter

Identify unhandled edge cases in code, specs, or diffs.

2|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/Imad-Oute/MicroHard --skill mh-review-edge-case-hunter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mh-review-edge-case-hunter
Source: https://github.com/Imad-Oute/MicroHard/tree/main/src/core/mh-review-edge-case-hunter
Command: npx skills add https://github.com/Imad-Oute/MicroHard --skill mh-review-edge-case-hunter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The mh-review-edge-case-hunter skill provides a detailed edge-case analysis for code, specifications, or diffs, ensuring that all potential issues are identified and handled.

Core Features & Use Cases

  • Edge-Case Analysis: Walks every branching path and boundary condition within the given content, reporting only unhandled edge cases.
  • Content Type Analysis: Handles diffs, full files, or functions and identifies the scope accordingly.
  • Input Validation: Validates inputs for completeness and ensures they are decodable text.

Quick Start

Use the 'mh-review-edge-case-hunter' skill to analyze a code diff for unhandled edge cases: /mh-review-edge-case-hunter --content <path-to-diff>.

Frequently Asked Questions about mh-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, you can analyze the diff hunks for unguarded inputs, off-by-one errors, and arithmetic overflows. This edge-case analysis reports only unaddressed branching paths and boundary conditions.

What is edge-case analysis in static code review?

Edge-case analysis in static code review is the process of walking every branching path and boundary condition within code, specs, or full files. It identifies unguarded inputs and arithmetic overflows, reporting only unhandled edge cases.

Can I run edge-case analysis on full files or only on diffs?

You can run edge-case analysis on both diffs and full files. The analysis identifies the scope accordingly, whether you provide entire files, functions, or specific diff hunks to evaluate for unhandled edge cases.

Does edge-case analysis detect off-by-one errors and arithmetic overflows?

Yes, edge-case analysis detects off-by-one errors and arithmetic overflows. It focuses on unguarded inputs and other common issues, walking every branching path to report only unhandled edge cases.

What are the limitations of automated edge-case analysis for code safety?

Automated edge-case analysis for code safety requires inputs to be complete and decodable text. It operates only on the provided content, identifying unaddressed paths without modifying the original code or specifications.