Edge Cases
# Edge Cases
> Identify boundary conditions, unusual inputs, and scenarios that break assumptions.
## When to Use
- You've written tests for happy paths but want thorough coverage
- Preparing for a code review and want to preempt "what about...?" questions
- Working with user input, financial calculations, or safety-critical code
- Fixing a bug and want to make sure related edge cases are covered
## The Promptwhen to use it
Community prompt sourced from the open-source GitHub repo runaicode/prompt-library (no explicit license). A "Edge Cases" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
runaicode/prompt-library · no explicit license
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions