Edge case generation

From vladkesler/initrunner · View interactive version

Edge case generation is an AI agent skill from the GitHub repository vladkesler/initrunner. Systematic edge-case identification including boundary values, null inputs, type mismatches, and error path testing.

How to use this skill

Skill file

Systematic edge-case generation for thorough test coverage.

When to activate

Use this skill when generating tests for any function or module -- always

consider edge cases alongside the happy path.

Boundary values

and 101.

Null/None inputs

that could receive them.

Type edge cases

Error paths

Concurrency

Methodology

For each function parameter:

  1. List the valid range.
  2. Test the first valid value, the last valid value, and one value just

outside each boundary.

For each branch in the function:

  1. Ensure at least one test exercises that branch.

For each exception or error the function can raise:

  1. Write a test that triggers it and verifies both the type and the message.

MUST

MUST NOT

signature and call sites.

public API contract.

substring or pattern matching when messages may evolve.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.