2.1k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill cexll/myclaude --skill test-cases- SKILL.md7.1 KB
Overview
This skill generates comprehensive, requirement-driven test cases from PRD documents or user requirements. It produces structured, traceable test cases covering functional flows, edge cases, error handling, and state transitions. The output is ready-to-run, with unique IDs, priorities, preconditions, steps, expected results, and a coverage matrix.
How this skill works
The skill extracts requirements from a provided PRD file or from user-provided descriptions, asks clarifying questions when requirements are incomplete, and maps each requirement to test scenarios. It generates categorized test cases (functional, edge, error, state) with clear preconditions, executable steps, expected results, and postconditions. Finally, it creates a markdown test document and verifies coverage against the original requirements.
When to use it
- When you provide a PRD or requirement set and request test cases or QA planning
- When you need structured test documentation or a tests/<feature>-test-cases.md file
- When you want traceable coverage for every requirement including edge and error cases
- When a feature involves stateful workflows and you need transition tests
- When preparing release test suites or handing work to QA engineers
Best practices
- Drive test cases from requirements, not implementation details
- Ensure each requirement has at least one happy-path test plus edge and error tests
- Assign priorities and unique IDs using TC-F, TC-E, TC-ERR, TC-ST prefixes
- Write clear preconditions, step-by-step instructions, measurable expected results, and postconditions
- Validate coverage with a requirement-to-test matrix and fill any gaps before finalizing
Example use cases
- Generate test cases for an authentication PRD: login, logout, password reset, session expiry
- Create QA plans for a stateful order workflow covering all status transitions
- Produce edge-case and error tests for API endpoints with input validation and rate limits
- Build a release test document that maps requirements to executable test IDs and priorities
- Augment an incomplete PRD by asking clarifying questions, then output complete test cases
FAQ
Provide a PRD file path or paste a requirements description; the skill will read files when available or ask clarifying questions.
How are test case IDs and priorities assigned?
IDs use prefixes (TC-F, TC-E, TC-ERR, TC-ST) with sequential numbers; priorities are set based on requirement criticality with critical paths marked High.
Will the skill verify that every requirement has coverage?
Yes. It validates that each requirement maps to at least one test and generates additional tests if gaps are detected.