Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By viktorbezdekv1.0.11MITIn 1 marketplace
Enumerates boundary values, invalid inputs and failure modes for a function, endpoint or form as a checklist you can turn into test cases. Activates automatically when prompts mention edge cases or validation.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
edge-cases, boundary-testing, corner-cases, error-scenarios, input-validation, test-cases, qa, claude-code ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
v1.0.11 | Quality & Testing | 12 iterations
Systematically identify every boundary condition, error scenario, and validation gap before they become production incidents.
Every production outage post-mortem tells the same story: the code worked fine on the happy path, but nobody checked what happens when the input is empty, the token is expired, the file is zero bytes, or the database connection drops mid-transaction. These failures are not exotic -- they are the most common class of bugs in production systems. Yet they are consistently missed because developers and reviewers follow the same mental path through the code, focusing on what the feature should do rather than what happens when assumptions break.
The root cause is not laziness -- it is a lack of systematic enumeration. When a developer is asked "have you handled edge cases?" they scan for what comes to mind: maybe null, maybe an empty string. But the input space is combinatorial. A registration form with three fields (name, email, age) has at least 15 distinct edge conditions per field -- boundary values, type mismatches, format violations, encoding issues, and overflow scenarios. Without a framework, most developers cover 3-4 of these and call it done.
The cost compounds silently. Each missed edge case is a latent defect that passes code review, passes QA (which tests the same happy path), and ships to production where it surfaces as a 3am alert, a corrupted record, or a security vulnerability. By the time it is caught, the fix costs 10-50x what it would have cost to enumerate the case up front.
This plugin gives Claude a structured methodology for systematically enumerating edge cases across six categories: boundary values, input validation, state transitions, resource limits, network conditions, and permission models. Instead of relying on intuition, Claude walks through each category with concrete templates -- the seven values to test around any numeric limit, the six dimensions of input validation, and a coverage matrix that maps every field against every failure condition.
When you describe a function, an API endpoint, or a form, the skill produces a complete enumeration of what could go wrong -- not as abstract advice, but as a concrete checklist you can turn directly into test cases or validation rules. The error scenario template captures trigger, symptoms, root cause, prevention, and recovery for each failure mode, producing documentation that doubles as a runbook for on-call engineers.
The output is actionable: a coverage matrix you can paste into a ticket, a validation checklist you can walk through during review, and an anti-pattern audit that catches the five most common defensive-programming mistakes (happy-path-only testing, ignoring nulls, assuming valid input, missing timeout handling, and silent failures).
| Without this plugin | With this plugin |
|---|---|
| Edge case analysis depends on the developer's memory and experience -- gaps are invisible until production | Systematic six-category enumeration surfaces conditions the developer never thought to check |
| Code reviews catch only the edge cases the reviewer personally thinks of, duplicating the author's blind spots | Coverage matrix provides a visual artifact showing exactly which conditions are tested and which are not |
| Error scenarios are undocumented -- on-call engineers reverse-engineer failure modes from stack traces | Error scenario template produces runbook-quality entries with trigger, symptoms, root cause, and recovery |
| Boundary values are checked informally ("did you handle zero?") instead of exhaustively | Boundary analysis template provides the seven canonical values to test around any numeric or string limit |
| Validation logic is split between client and server with no single view of what is actually checked | Validation checklist covers six dimensions (required, type, format, range, length, characters) per field |
| Post-mortems repeatedly cite "we didn't think of that case" as root cause | Anti-pattern audit catches the five most common gaps before review |
Edge case analysis is combinatorial -- the more concrete the inputs, the more specific the coverage matrix. "Find edge cases in my code" produces a taxonomy of categories. "Build a coverage matrix for this endpoint that accepts name (string, 1-255 chars), age (int, 0-150), and email" produces 15+ concrete test values you can paste directly into a test file.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub viktorbezdek/skillstack --plugin edge-case-coveragePlugins from other owners that cover similar ground