test-cases-generationlisted
Install: claude install-skill tercel/spec-forge
# Test Cases Generation Skill
## What Are Test Cases?
Test cases are structured specifications that define what to test, how to test it, and what the expected outcome should be. Unlike a test plan (which focuses on strategy, schedule, roles, and process), test cases are the actionable core — each one is detailed enough for an engineer to translate directly into test code.
This skill treats test case design as a distinct discipline from test planning and test implementation:
- **Test Planning** (strategy, process, roles) → optional, available via `--formal` flag
- **Test Design** (what cases, which dimensions, what coverage) → this skill's core output
- **Test Implementation** (writing code) → downstream, handled by `code-forge:tdd`
## Core Capabilities
### Auto-Scan and Extract
The skill can automatically scan a project to extract testable units without requiring the user to provide a specification document. It identifies:
- **REST API routes** — endpoints, methods, parameters, response codes
- **Functions and methods** — signatures, parameter types, return values, branch logic
- **React/Vue/Svelte components** — props, events, state transitions
- **CLI commands** — commands, subcommands, flags, arguments
- **AI tool definitions** — tool names, trigger conditions, parameters, combination patterns
- **Database models** — schemas, relationships, constraints
- **Event handlers** — event types, payloads, side effects
- **Middleware/interceptors** — conditions, transformat