codagent-ai/agent-skills/test-plan
Claude Code and agent skill by codagent-ai/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Collaboratively creates a risk-based test plan for a defined software change using the automated test pyramid plus the envelope an exploratory acceptance pass runs under and exceptional human-only testing; use after specifications and design are complete, when asked to plan testing, define integration or end-to-end coverage, set testing authorizations, or create test-plan.md before implementation planning.
Install
npx vskill@latest install codagent-ai/agent-skills/test-planSKILL.md
Test Plan
Create <change-dir>/test-plan.md after the proposal, specifications, and design are complete. The plan records important automated integration and end-to-end obligations, the envelope the later exploratory acceptance pass runs under, and exceptional human-only checks. Specifications and implementation-time decisions remain the source of unit-test requirements.
Do not write the plan until the user approves the proposed coverage. Use codagent:ask-questions for consequential choices involving environments, external effects, cost, credentials, fidelity, substitutes, or genuinely human-only judgment.
Plan coverage by risk
Read the definition artifacts, relevant repository instructions, current test structure, and affected public surfaces. Trace critical journeys and boundaries, then choose the lowest test layer that can reliably detect each important failure:
- Unit tests: the broad base for isolated logic, validation, transformations, decisions, and edge
cases. Do not inventory these in the test plan.
- Integration tests (`INT-*`): important boundaries where real components must work together, such
as adapters, databases, filesystems, subprocesses, APIs, queues, or configuration-to-runtime wiring. Prefer controlled real dependencies or contract tests when they are more faithful than mocks.
- Automated end-to-end tests (`E2E-*`): a small set of critical journeys through a public entry
point with realistic isolated setup and stable observable assertions.
Avoid fixed ratios, test-count quotas, duplicate assertions across layers, and E2E coverage for behavior a cheaper layer proves adequately. It is valid to record that no new integration or E2E obligation is warranted and explain why.
Plan automated tests for code only, never for prompts. Do not plan a test that checks whether a prompt, such as a SKILL.md, contains certain text.
For each automated obligation, capture what it covers, the boundary or journey exercised, setup, stable assertions, constraints, and where it runs.
Define the testing envelope
Do not enumerate acceptance test cases. Acceptance is an exploratory pass: it exercises each user-visible requirement or scenario the approved specs add or modify at least once, derived from the specs themselves, and sizes further exploration to what actually changed. A pre-written flow list only tells it to re-walk the happy path. The plan's job is to say what that pass is allowed to do, not what it must check.
Record the envelope:
- environments, sandboxes, and test accounts available;
- credentials and secrets that exist, and where;
- external effects that are authorized, their cost, and required cleanup;
- anything the pass must not touch, such as production data or irreversible operations;
- substitutes permitted when a real dependency is unavailable.
Note known risk areas, prior defect clusters, and anything the design treats as an accepted limitation. These inform exploration without prescribing it.
Default human-only testing to None. Add an HT-* only for judgment or authority unavailable to an agent with the product and tools—for example subjective preference, legal approval, physical perception, unavailable personal credentials, or an irreversible user-authorized act. Visual and interactive UI testing belongs to the exploratory pass. For each HT-*, state why an agent cannot perform it, what prior testing must establish, concise user instructions, and the decision or observation required.
Approve and write
Present the proposed obligations, the envelope, meaningful omissions, and consequential testing choices. After user approval, write the plan and a coverage map containing only requirements or journeys with an additional INT-*, E2E-*, or HT-* obligation. Do not create tasks, write tests, execute tests, or invoke another lifecycle phase.
Artifact template
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/test-plan/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codagent-ai/agent-skills/test-plan)