edge-case-hunter
Skill26 starsChanged 4 months agoMITView on GitHub
Focuses specifically on unusual inputs, boundary conditions, empty states, and unexpected user behavior that implementations commonly miss. Use to find what a normal test pass would skip over.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Nadav011/apex-skillstheir own version, first seen Apr 22, 2026
- harshitsinghbhandari/domain-expansiontheir own version, first seen Mar 26, 2026
- sungkhum/agent-skills-packtheir own version, first seen Mar 12, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- harshitsinghbhandari/domain-expansion★ 2same name
- Nadav011/apex-skills★ 0same name
- sungkhum/agent-skills-pack★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository119 other files it gives its agents.
- adr-writerSkill
- architecture-reviewerSkill
- cache-strategy-plannerSkill
- cost-optimization-auditorSkill
- cqrs-event-sourcing-designerSkill
- disaster-recovery-plannerSkill
- event-driven-architectSkill
- feature-flag-lifecycle-managerSkill
- migration-plannerSkill
- multi-tenant-data-partitionerSkill
- project-plannerSkill
- rate-limiting-architectSkill
- tech-debt-assessorSkill
- zero-downtime-migration-plannerSkill
- api-designerSkill
- bug-hunterSkill
- code-reviewerSkill
- concurrency-race-detectorSkill
- database-architectSkill
- dependency-auditorSkill
- error-handling-architectSkill
- graphql-schema-designerSkill
- legacy-code-refactorerSkill
- memory-leak-detectorSkill
- microservices-boundary-definerSkill
- performance-auditorSkill
- pr-reviewerSkill
- refactor-expertSkill
- resilience-circuit-breaker-designerSkill
- security-auditorSkill
- sql-query-optimizerSkill
- state-machine-designerSkill
- typescript-guardianSkill
- websocket-protocol-designerSkill
- adr-generatorSkill
- changelog-generatorSkill
- codebase-glossary-builderSkill
- commit-message-expertSkill
- contributor-guide-writerSkill
- documentation-writerSkill
- executive-summary-writerSkill
- readme-builderSkill
- release-notes-writerSkill
- rfc-proposal-writerSkill
- runbook-generatorSkill
- sdk-getting-started-writerSkill
- status-update-writerSkill
- ci-cd-pipeline-optimizerSkill
- context-window-optimizerSkill
- git-conflict-resolverSkill
- interview-question-generatorSkill
- meeting-notes-distillerSkill
- monorepo-workflow-architectSkill
- onboarding-guide-generatorSkill
- on-call-handover-writerSkill
- prompt-enhancerSkill
- retro-facilitatorSkill
- task-breakdown-assistantSkill
- tech-debt-burndown-plannerSkill
- cognitive-bias-detectorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before shipping something that handles user input or external data.
- Distinctive: line 13
After writing normal-case tests, to find what's still missing.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Enumerate the edge cases a given piece of functionality is likely to mishandle — unusual input, boundary values, empty/missing states, and unexpected user behavior — the class of case that a "does it work for the normal case" pass typically skips.
When to Use
- Before shipping something that handles user input or external data.
- After writing normal-case tests, to find what's still missing.
- Specifically want edge cases enumerated, separate from a general bug hunt (see Bug Hunter for defects in existing code; this skill is about enumerating cases to consider, whether or not code exists yet).
What to Analyze
- Boundary values — zero, negative, empty string/array/object, exactly at a limit (min/max), one below/above a limit.
- Empty & missing states — no data yet (first-time user), data deleted mid-session, a required relationship missing (e.g. a comment whose author was deleted).
- Unexpected user behavior — double-submitting a form, navigating away mid-action, using browser back/forward against app state, extremely fast repeated actions.
- Unusual but valid input — very long strings, unicode/emoji, whitespace-only input, numbers as strings, timezone edge cases (midnight, DST transitions, leap years/seconds).
- Concurrent/simultaneous actions — two actors acting on the same resource at once, the same actor acting on two devices/tabs at once.
- Degraded conditions — slow network, partial data load, a dependency being down or timing out.
Output Format
- A checklist grouped by category (Boundary Values, Empty/Missing States, Unexpected Behavior, Unusual Input, Concurrency, Degraded Conditions).
- Each item: the specific case, why it's plausible (not just theoretically possible), and what currently happens (if known/inferable) or what should happen.
- Prioritize cases realistic for this specific feature over generic edge cases that don't actually apply to it.
Avoid
- Generating a generic checklist that doesn't reflect what this specific feature actually does — every case should be plausible for the feature at hand.
- Treating truly impossible cases (violating a hard invariant enforced elsewhere) as if they need handling here too.
- Listing a case without saying why it matters or what should happen — a bare list of scenarios isn't actionable.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

