From test-plan-generator
Generate comprehensive, structured test plans and test cases from requirements and specifications. Reads feature tickets (Jira, Linear, or pasted text) with subtasks and produces a detailed markdown test plan with hierarchical test suites and individual test cases. Uses professional test design techniques (equivalence partitioning, boundary value analysis, decision tables, state transition, use case testing). Use when user says "test plan", "test cases", "write tests for this feature", "QA this ticket", mentions testing a Jira/Linear ticket, or asks to create test scenarios from requirements. Do NOT use for code-level unit tests or test automation code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/test-plan-generator:test-plan-generatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate detailed, structured test plans and test cases from requirements and specifications — not from code.
Generate detailed, structured test plans and test cases from requirements and specifications — not from code.
references/test-techniques.md)Read the ticket and all related context. Use whatever MCP tools are available:
For Jira tickets:
getJiraIssue to read the main ticketsearchJiraIssuesUsingJql with parent = TICKET-KEY to find subtaskssearchConfluenceUsingCqlFor Linear tickets:
get_issue to read the main ticketlist_issues with project filter to find sub-issueslist_documents or get_documentFor pasted text:
CRITICAL: If the ticket has subtasks or sub-issues, read ALL of them. Each subtask often contains detailed acceptance criteria that are essential for thorough test coverage.
After gathering, create a mental model of:
Break the feature into functional areas (test suites). For each area, identify:
Consult references/test-techniques.md for detailed guidance on each technique.
For each functional area, determine which techniques apply. The skill MUST automatically select techniques based on requirement patterns:
| Requirement Pattern | Technique to Apply |
|---|---|
| Input field with valid range (e.g., age 18-65) | Equivalence Partitioning + Boundary Value Analysis |
| Multiple conditions with different outcomes | Decision Table Testing |
| Workflow with distinct states (e.g., order lifecycle) | State Transition Testing |
| User journey / transaction flow | Use Case Testing |
| Multiple independent parameters (e.g., OS x Browser x Role) | Pairwise Testing |
| Discrete set of valid values (e.g., dropdown options) | Equivalence Partitioning |
| Complex business rules with exceptions | Decision Table Testing |
| API endpoints with request/response | Use Case Testing + EP + BVA for each parameter |
| Permission/role-based behavior | Decision Table (roles x actions x expected outcomes) |
Apply MULTIPLE techniques per area. For example, a registration form needs: EP + BVA for each field, decision tables for validation rules, use case testing for the overall flow, and state transition for the account states.
For each functional area, generate test cases following this structure per test case:
**TC-{suite}-{number}: {Descriptive title}**
- **Priority:** {Critical / High / Medium / Low}
- **Technique:** {Which test design technique was used}
- **Preconditions:** {Required state before test execution}
- **Steps:**
1. {Action step}
2. {Action step}
...
- **Expected Result:** {Clear, verifiable expected outcome}
- **Requirement:** {Traceability to original requirement/AC}
Test case generation rules:
Produce a single markdown document with this structure:
# Test Plan: {Feature Name}
## 1. Overview
- **Feature:** {name and brief description}
- **Source:** {ticket ID and link}
- **Date:** {generation date}
- **Test Approach:** {which techniques were applied and why}
- **Total Test Cases:** {count}
## 2. Scope
### In Scope
{What will be tested}
### Out of Scope
{What will NOT be tested and why}
## 3. Test Environment & Preconditions
{Required setup, test data, accounts, configurations}
## 4. Test Suites — New Capability
Test cases for the NEW functionality introduced by this feature, organized by functional area.
### 4.1 {Functional Area Name} ({count} test cases)
**Applicable techniques:** {list}
**Risk level:** {High/Medium/Low}
{All test cases for this area}
### 4.2 {Next Functional Area} ({count} test cases)
...
## 5. Test Suites — Regression
Test cases to verify that existing functionality is NOT broken by the new feature. Focus on:
- Adjacent features that share data, APIs, or UI with the new feature
- Existing workflows that the new feature modifies or extends
- Integration points where the new feature connects to existing systems
### 5.1 {Affected Existing Area} ({count} test cases)
**Why at risk:** {brief explanation of how the new feature could affect this area}
{Regression test cases}
## 6. Traceability Matrix
| Requirement/AC | Test Cases | Coverage |
|---|---|---|
| {req} | TC-XX-01, TC-XX-02 | Full / Partial |
## 7. Risks and Assumptions
{Known risks, assumptions made during test planning}
Before delivering, verify:
For detailed guidance on each test design technique with examples, consult references/test-techniques.md.
For output format examples and test case templates, consult references/test-case-template.md.
For quality characteristics to consider in non-functional testing, consult references/quality-characteristics.md.
Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub nazarkalytiuk/test-plan-generator --plugin test-plan-generator