Edge-case hunt
Find the tests you forgot to write.
Official basis Ask Claude to identify edge cases you might have missed. docs ↗
The prompt
Analyze these code paths and list the tests I'm missing — error conditions, boundary values, and unexpected inputs I haven't covered. Don't write them yet, just enumerate the gaps. Why it works
You’re blind to the cases you didn’t think of — that’s exactly where bugs hide. The docs recommend using Claude to surface missing edge cases; listing before writing lets you prioritize.
Fill in
- Point at the function(s) or paste the code paths.
Follow-ups
- “Write tests for the top 3, and confirm which ones currently fail.”