← ClaudeAtlas

edge-case-discoverylisted

Systematically identifies edge cases and boundary conditions for any function, API, or user flow.
Notysoty/openagentskills · ★ 9 · AI & Automation · score 80
Install: claude install-skill Notysoty/openagentskills
# Edge Case Discovery ## What this skill does This skill directs the agent to systematically work through a function, API endpoint, or user flow and enumerate all edge cases and boundary conditions that could cause incorrect behavior, errors, or security issues. It applies a structured checklist across multiple dimensions (data types, boundary values, state, concurrency, authorization) and outputs a prioritized list of cases to test or guard against. Use this before writing tests, during code review, when designing a new feature, or when a production bug makes you wonder "what else could go wrong here." ## How to use ### Claude Code / Cline Copy this file to `.agents/skills/edge-case-discovery/SKILL.md` in your project root. Then ask: - *"Use the Edge Case Discovery skill on the `transferFunds` function."* - *"Find edge cases for the `POST /api/orders` endpoint using the Edge Case Discovery skill."* - *"What edge cases should I handle in the user registration flow? Use the Edge Case Discovery skill."* Provide the function signature, the code, or a description of the flow. ### Cursor Add the instructions below to your `.cursorrules` or paste them into the Cursor AI pane before sharing the function or flow you want analyzed. ### Codex Paste the function or flow description and ask Codex to follow the instructions below to generate the edge case list. ## The Prompt / Instructions for the Agent When asked to discover edge cases, apply the following checklist systema