← ClaudeAtlas

test-cases-generationlisted

Generates structured test case sets with multi-dimensional coverage from project code analysis or specification documents. This skill activates when the user asks to write test cases, generate tests, supplement tests, create test coverage, or improve test completeness. It auto-scans the project to extract testable units (APIs, functions, components, CLI commands, tool definitions), identifies coverage gaps, designs test cases across multiple dimensions (coverage depth, input types, interaction patterns), and produces a structured test case document with coverage matrix. Includes test strategy and methodology by default. Use --formal flag to add management sections (environment, roles, schedule, defect management).
tercel/spec-forge · ★ 4 · Testing & QA · score 80
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