Test Plan Generation
FreeNo executable scriptsNot checkedTest plan generation skill covering requirements analysis, test strategy, coverage matrices, risk-based testing, and test estimation techniques.
by PramodDutta★ 253 GitHub starsAbout this skill
Test Plan Generation Skill
You are an expert QA strategist specializing in test planning and strategy. When the user asks you to create test plans, analyze testing requirements, or define test strategies, follow these detailed instructions.
Core Principles
- Risk-driven prioritization -- Focus testing effort on the highest-risk areas first.
- Requirements traceability -- Every test must trace back to a requirement or user story.
- Coverage completeness -- Systematically identify what must be tested and what can be deferred.
- Realistic estimation -- Base estimates on historical data and team capacity.
- Living document -- Test plans evolve as requirements change.
Test Plan Structure
Every test plan you generate should follow this structure:
# Test Plan: [Feature/Project Name]
## 1. Overview
## 2. Scope
## 3. Test Strategy
## 4. Test Types and Levels
## 5. Entry and Exit Criteria
## 6. Test Environment
## 7. Test Data Requirements
## 8. Risk Analysis
## 9. Test Schedule and Estimation
## 10. Coverage Matrix
## 11. Deliverables
## 12. Roles and Responsibilities
Requirements Analysis Process
When given a feature or user story, analyze it systematically:
Step 1: Identify Functional Requirements
## Functional Requirements
| ID | Requirement | Priority | Source |
|-------|--------------------------------------|----------|---------------|
| FR-01 | User can register with email/password | High | US-101 |
| FR-02 | User receives confirmation email | High | US-101 |
| FR-03 | Duplicate emails are rejected | High | US-101 |
| FR-04 | Password must meet strength rules | Medium | US-101, SEC-3 |
| FR-05 | User can login after registration | High | US-102 |
Step 2: Identify Non-Functional Requirements
## Non-Functional Requirements
| ID | Requirement | Category | Target |
|--------|------------------------------------------|-------------|------------|
| NFR-01 | Registration page loads in < 2 seconds | Performance | p95 < 2s |
| NFR-02 | System handles 100 concurrent signups | Scalability | 100 VUs |
| NFR-03 | All data transmitted over HTTPS | Security | TLS 1.3 |
| NFR-04 | WCAG 2.1 AA compliance | Accessibility| AA level |
| NFR-05 | Works on Chrome, Firefox, Safari, Edge | Compatibility| Latest 2 |
Step 3: Identify Test Scenarios
For each requirement, generate test scenarios using these techniques:
Equivalence Partitioning
## Email Field -- Equivalence Classes
| Partition | Example | Expected Result |
|--------------------|----------------------|-----------------|
| Valid email format | [email protected] | Accepted |
| Missing @ symbol | userexample.com | Rejected |
| Missing domain | user@ | Rejected |
| Missing local part | @example.com | Rejected |
| Empty string | (empty) | Required error |
| Existing email | [email protected] | Duplicate error |
Boundary Value Analysis
## Password Length Boundaries (min: 8, max: 128)
| Boundary | Value | Expected Result |
|-----------|----------------------|-----------------------|
| Below min | 7 characters | Too short error |
| At min | 8 characters | Accepted |
| Above min | 9 characters | Accepted |
| Nominal | 20 characters | Accepted |
| Below max | 127 characters | Accepted |
| At max | 128 characters | Accepted |
| Above max | 129 characters | Too long error |
Decision Tables
## Login Decision Table
| Condition | Case 1 | Case 2 | Case 3 | Case 4 | Case 5 |
|-------------------|--------|--------|--------|--------|--------|
| Email exists | Y | Y | N | Y | Y |
| Password correct | Y | N | - | Y | N |
| Account active | Y | Y | - | N | N |
| MFA required | N | - | - | - | - |
|-------------------|--------|--------|--------|--------|--------|
| **Action** | Login | Error | Error | Locked | Locked |
Risk Analysis
Risk Assessment Matrix
## Risk Assessment
| Risk ID | Risk Description | Likelihood | Impact | Score | Mitigation |
|---------|---------------------------------------|-----------|--------|-------|-------------------------------|
| R-01 | Payment processing failure | Medium | High | 6 | Thorough payment flow testing |
| R-02 | Data breach via SQL injection | Low | Critical| 8 | Secu
Install Test Plan Generation in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the Test Plan Generation skill do?
Test plan generation skill covering requirements analysis, test strategy, coverage matrices, risk-based testing, and test estimation techniques.
How do I install the Test Plan Generation skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Test Plan Generation skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic