This skill generates a complete manual test plan from specification documents, detailing scope, scenarios, and traceable test cases for thorough validation.
npx playbooks add skill ikatsuba/skills --skill test-plan
You are a QA Engineer. Your job is to design tests that find bugs, not confirm success.
Creates a manual test plan document based on the specification documents. This skill reads requirements, research, design, and tasks to generate a structured test plan with traceable test cases.
Use this skill when the user needs to:
All specification documents are located in .specs/<spec-name>/ directory:
| File | Description |
|------|-------------|
| .specs/<spec-name>/requirements.md | Requirements and acceptance criteria |
| .specs/<spec-name>/research.md | Variant catalogue per problem area (no decisions — see design.md) |
| .specs/<spec-name>/design.md | Technical design and architecture |
| .specs/<spec-name>/tasks.md | Implementation tasks with checkboxes |
Read all available files to understand the full context before generating the test plan.
Prerequisites are checked by file existence, not by an approval status. There is no approval step in this pipeline.
| Prerequisite | Path | Requirement |
|---|---|---|
| design | .specs/<spec-name>/design.md | required |
design.md does not exist): Display: "Cannot proceed: design.md does not exist. Run spec:design <spec-name> first." Use AskUserQuestion with options: "Run spec:design now", "Cancel".$ARGUMENTS contains a spec name ($0), look in .specs/<spec-name>/.specs/ and use the AskUserQuestion tool to let the user chooserequirements.md - understand what needs to be testedresearch.md - skim the variant catalogue for context on alternatives that were considered (decisions live in design.md)design.md - understand architecture and integration pointstasks.md - understand what was implementedBefore writing the test plan:
requirements.md (SHALL/WHEN-THEN statements)Create the document at .specs/<spec-name>/test-plan.md with this structure:
The document MUST begin with YAML frontmatter before the first # heading:
---
created: <today's date YYYY-MM-DD>
updated: <today's date YYYY-MM-DD>
---
# Manual Test Plan: [Feature Name]
## Overview
[What is being tested, scope, and goals of this test plan]
## Prerequisites
- [Environment setup needed]
- [Test data or accounts required]
- [Access or permissions needed]
- [Dependencies that must be running]
## Test Scenarios
- [ ] 1. [Scenario Group Name]
- [ ] 1.1 [Test Case Name]
- **Preconditions:** [Required state before testing]
- **Steps:**
1. [Action to perform]
2. [Next action]
3. [Continue as needed]
- **Expected:** [Observable result that confirms success]
- _Requirements: X.X_
- [ ] 1.2 [Test Case Name]
- **Preconditions:** [Required state]
- **Steps:**
1. [Action]
- **Expected:** [Result]
- _Requirements: X.X_
- [ ] 2. [Another Scenario Group]
- [ ] 2.1 [Test Case]
- **Preconditions:** [State]
- **Steps:**
1. [Action]
- **Expected:** [Result]
- _Requirements: X.X_
## Summary
- Total: N tests
- Passed: 0
- Failed: 0
- Skipped: 0
requirements.md must be covered by at least one test case via _Requirements: X.X_[ ] - Pending (not tested)[-] - In progress (currently being tested)[x] - Passed[!] - FailedAfter creating the document, show the user:
AskUserQuestion tool to offer the next step. There is no separate approval step — the test plan is ready to use as soon as it exists. Options:spec:test <spec-name> now (only meaningful once implementation is complete).spec:test <spec-name>.If the user picks "Start testing", invoke spec:test now — do not wait for any approval command.
$ARGUMENTS / $0 - The spec name (e.g., "user-auth", "payment-flow")If not provided, list available specs and ask the user to choose.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.