Comprehensive test case generation from PRD documents and user requirements with full coverage mapping.
Works with
Transforms product requirements into structured, executable test cases organized by category: functional, edge case, error handling, and state transition scenarios
Generates requirement-driven test cases with unique IDs, priority levels, preconditions, step-by-step actions, and measurable expected results
Includes traceability matrix linking each requirement to corresponding test c
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiontest-casesExecute the skills CLI command in your project's root directory to begin installation:
Fetches test-cases from cexll/myclaude and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate test-cases. Access via /test-cases in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
21
total installs
21
this week
2.6K
GitHub stars
0
upvotes
Run in your terminal
21
installs
21
this week
2.6K
stars
This skill generates comprehensive, requirement-driven test cases from PRD documents or user requirements.
Transform product requirements into structured test cases that ensure complete coverage of functionality, edge cases, error scenarios, and state transitions. The skill follows a pragmatic testing philosophy: test what matters, ensure every requirement has corresponding test coverage, and maintain test quality over quantity.
Trigger this skill when:
Follow these principles when generating test cases:
First, identify the source of requirements:
Analyze requirements and extract test scenarios:
For each requirement, identify:
Organize test cases using this structure:
# Test Cases: [Feature Name]
## Overview
- **Feature**: [Feature name]
- **Requirements Source**: [PRD file path or description]
- **Test Coverage**: [Summary of what's covered]
- **Last Updated**: [Date]
## Test Case Categories
### 1. Functional Tests
Test cases covering normal user flows and core functionality.
#### TC-F-001: [Test Case Title]
- **Requirement**: [Link to specific requirement]
- **Priority**: [High/Medium/Low]
- **Preconditions**:
- [Condition 1]
- [Condition 2]
- **Test Steps**:
1. [Step 1]
2. [Step 2]
3. [Step 3]
- **Expected Results**:
- [Expected result 1]
- [Expected result 2]
- **Postconditions**: [State after test]
### 2. Edge Case Tests
Test cases covering boundary conditions and unusual inputs.
#### TC-E-001: [Test Case Title]
[Same structure as above]
### 3. Error Handling Tests
Test cases covering error scenarios and failure modes.
#### TC-ERR-001: [Test Case Title]
[Same structure as above]
### 4. State Transition Tests
Test cases covering state changes and workflows (if applicable).
#### TC-ST-001: [Test Case Title]
[Same structure as above]
## Test Coverage Matrix
| Requirement ID | Test Cases | Coverage Status |
|---------------|------------|-----------------|
| REQ-001 | TC-F-001, TC-E-001 | ✓ Complete |
| REQ-002 | TC-F-002 | ⚠ Partial |
## Notes
- [Any additional testing considerations]
- [Known limitations or assumptions]
For each identified scenario, create a detailed test case following the structure above. Ensure:
Before finalizing, verify:
If coverage gaps exist, generate additional test cases.
Write the test cases to tests/<name>-test-cases.md where <name> is derived from:
Use the Write tool to create the file with the structured test cases.
After generating test cases, provide a brief summary in Chinese:
Before finalizing test cases, verify:
User: "Generate test cases for the user authentication feature in docs/auth-prd.md"
Process:
For detailed testing methodologies and best practices, see:
references/testing-principles.md - Core testing principles and patternsPrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
github/awesome-copilot
github/awesome-copilot
github/awesome-copilot
aj-geddes/useful-ai-prompts
microsoft/playwright-cli
pproenca/dot-skills
Registry listing for test-cases matched our evaluation — installs cleanly and behaves as described in the markdown.
test-cases reduced setup friction for our internal harness; good balance of opinion and flexibility.
Solid pick for teams standardizing on skills: test-cases is focused, and the summary matches what you get after install.
Solid pick for teams standardizing on skills: test-cases is focused, and the summary matches what you get after install.
We added test-cases from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
test-cases fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend test-cases for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
I recommend test-cases for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Solid pick for teams standardizing on skills: test-cases is focused, and the summary matches what you get after install.
test-cases has been reliable in day-to-day use. Documentation quality is above average for community skills.
showing 1-10 of 25