resolving-edge-cases
Installation
SKILL.md
Resolving Edge Cases
Use this before editing code when the task is to find, fix, or harden edge cases.
Loop
- State the intended behavior and the boundary being hardened.
- Trace the real flow end to end, including callers, sibling routes, cleanup paths, and stored state.
- List only plausible edge cases for that flow; skip generic checklists that cannot occur.
- Fix the shared root path, not only the reported symptom.
- Add the smallest regression test or executable check that fails without the fix.
- Run the narrow check, then scan sibling callers/routes for the same pattern.
- Repeat while each fix exposes a concrete adjacent edge case.
- Run the repo's normal verification gate before final response.
Edge-Case Families
Consider these only when relevant: