Skip to content
Skills Library
Programming · Analysis

edge-case-detection

/edge-case-detection

Identifies failure modes and uncommon but relevant paths. Use when planning, design or review changes user flows, data transitions or operational behavior and the happy path is understood.

Repository
paqad-ai ↗
Licence
MIT
Last repository change
12.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
7
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/lint-output.sh

What it does and when to use it

Identifies failure modes and uncommon but relevant paths. Use when planning, design or review changes user flows, data transitions or operational behavior and the happy path is understood.

Original author description

Identifies failure modes and uncommon but relevant paths. Use when planning, design or review changes user flows, data transitions or operational behavior and the happy path is understood.

How it works

  1. What It Does
  2. Use This When
  3. Inputs
  4. Procedure
  5. Output Contract
  6. Escalate / Stop Conditions
  7. Resources
Original SKILL.md headings · 44 lines, 258 words
SKILL.md preview
---
name: edge-case-detection
description: 'Identifies failure modes and uncommon but relevant paths. Use when planning, design or review changes user flows, data transitions or operational behavior and the happy path is understood.'
metadata:
  model_tier: reasoning
  cacheable: 'false'
  output_format: markdown
  paqad-meta: skill.meta.yaml
---

## What It Does

Finds missing failure modes, uncommon paths, and state transitions that would materially affect requirements, design, implementation, or verification if ignored.

## Use This When

During planning, design, or review when the work changes user flows, data transitions, or operational behavior and the happy path is already understood.

## Inputs

- Read the request, acceptance criteria, and proposed solution first.
- Read canonical docs that describe current states or interfaces for the affected module.
- Read `references/edge-case-categories.md` and the shared coding checklist before producing findings.

## Procedure

1. Enumerate the primary flow as a baseline.
2. Walk every category in `assets/categories.txt` (empty, stale, loading, retry, permission, concurrency, rollback, integration, overflow, state-skip) against the request.
3. Keep only cases that materially change behavior, docs, or verification scope.
4. Tie each case to the artifact that absorbs it (requirements, UX states, AC, tests, rollback plan).
5. Format per `assets/output.template.md`; validate with `scripts/lint-output.sh`.

## Output Contract

- Match `assets/output.template.md`: `## Edge Cases` + per-case `### ...` with `Scenario:`, `Why It Matters:`, `Apply To:` lines.
- When nothing additional is found, output the literal `No Additional Edge Cases` (with no other content).
- Output must pass `scripts/lint-output.sh` (exit 0).

## Escalate / Stop Conditions

- Ask when current behavior is undocumented and edge-case expectations depend on product policy.
- Warn when a missing case implies unrecoverable data loss or customer-facing failure.
- Do not add theoretical scenarios that are not credible for the current request.

## Resources

- `references/edge-case-categories.md`
- `scripts/lint-output.sh`
- `assets/output.template.md`
- `assets/categories.txt`
- `runtime/capabilities/coding/checklists/edge-cases-coding.md`
- `agents/openai.yaml`
Files in this package (7)
  • SKILL.md 2 KB
  • skill.meta.yaml 1 KB
  • agents/openai.yaml 1 KB
  • assets/categories.txt 1 KB
  • assets/output.template.md 1 KB
  • references/edge-case-categories.md 1 KB
  • scripts/lint-output.sh 1 KB

Versions

The database has no other skills named edge-case-detection.

Database snapshot: 13.11.2026 · package version 2289c9c7188c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100fai-edge-case-generator
    Generate edge-case test inputs for AI workflows — boundary values, adversarial prompts, malformed data, and rare paths. Use this skill when hardening a feature before launch, writing test suites, or probing failure modes — even if the user only says "what could break this" or "write tests".
  • 96edge-case
    Use when the user lists edge cases and wants recent work checked against them.
  • 100review-edge-case-hunter
    Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven. Use when you need exhaustive edge-case analysis of code, specs, or diffs.
  • 100find-bugs
    Find important, high-confidence correctness bugs and edge cases in an existing codebase. Use when the user asks to inspect a repository, subsystem, or implementation for bugs, failure modes, incorrect behavior, or overlooked edge cases.
  • 100bmad-review-edge-case-hunter
    Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven. Use when you need exhaustive edge-case analysis of code, specs, or diffs.
  • 95edge-case-generator
    Automatically identify potential boundary and exception cases from requirements, specifications, or existing code, and generate comprehensive test cases targeting boundary conditions, edge cases, and uncommon scenarios. Use this skill when analyzing programs, code repositories,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.