vamfi/vamfi-plugins/test-strategy-and-plan
Claude Code and agent skill by vamfi/vamfi-plugins
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "create a test strategy", "define the testing approach", "plan our test levels", "set quality gates", "define test coverage targets", "create a test plan for this feature", or needs to define how an initiative will be tested end-to-end.
Install
npx vskill@latest install vamfi/vamfi-plugins/test-strategy-and-planSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Test Strategy and Plan
Define a comprehensive testing approach that starts at requirements and covers every level of the test pyramid. Produce quality gates and tooling recommendations grounded in the system's risk profile.
Overview
A test strategy is not a list of tools — it is a risk-based decision about how much testing is enough and where to invest. This skill produces a strategy that the team can own and execute, not a document that collects dust.
Test Strategy Components
1. Risk-Based Test Scope
Identify the highest-risk areas requiring the heaviest testing:
| Area | Risk Level | Reason | Test Investment | |
|---|---|---|---|---|
| [Payment processing] | Critical | Financial data, compliance | High: unit + integration + E2E + security | |
| [User authentication] | High | Security boundary | High: unit + integration + security | |
| [Reporting export] | Medium | Data accuracy | Medium: unit + integration | |
| [Static content pages] | Low | No logic | Low: smoke test only |
2. Test Pyramid
Define the target test distribution:
Rationale for the chosen distribution (adjust based on system type):
- API-heavy systems: heavier integration layer
- UI-heavy systems: more E2E coverage
- Event-driven systems: add contract and consumer tests
3. Tooling Selection
| Test Level | Tool | Reason | |
|---|---|---|---|
| Unit | [Jest/pytest/JUnit] | [rationale] | |
| Integration | [Supertest/pytest-httpx] | [rationale] | |
| Contract | [Pact] | Consumer-driven contract tests | |
| E2E | [Playwright/Cypress] | [rationale] | |
| Performance | [k6/Locust] | [rationale] | |
| Security | [OWASP ZAP/Burp] | [rationale] | |
| Accessibility | [axe-core/Pa11y] | [rationale] |
4. Quality Gates
Define pass/fail thresholds per pipeline stage:
| Stage | Gate | Threshold | Action on Fail | |
|---|---|---|---|---|
| Pre-merge | Unit tests | 100% pass | Block PR | |
| Pre-merge | Coverage | > 80% on new code | Block PR | |
| Pre-merge | Linting | 0 errors | Block PR | |
| Pre-deploy (staging) | Integration tests | 100% pass | Block deploy | |
| Pre-deploy (staging) | E2E (smoke) | 100% pass | Block deploy | |
| Pre-deploy (production) | E2E (full suite) | 100% pass | Block deploy | |
| Pre-deploy (production) | Performance baseline | p95 < [target]ms | Block deploy |
5. Shift-Left Test Activities
Embed testing earlier in the SDLC:
- At requirements: write acceptance criteria as Given/When/Then (BDD scenarios)
- At architecture: identify testability requirements (dependency injection, seams)
- At implementation: TDD for business logic, contract tests for integrations
- At CI: all tests run on every commit, not just pre-merge
6. Test Data Strategy
Define how test data is created and managed:
- Unit tests: inline test data and factories
- Integration tests: dedicated test database, seeded via fixtures
- E2E tests: synthetic test accounts, never production data
- Performance tests: anonymised production clone or generated realistic dataset
Test Plan Structure
For a specific feature or sprint, produce a test plan:
Additional Resources
- `references/test-level-patterns.md` — Detailed patterns per test level
- `assets/test-strategy-template.md` — Blank test strategy 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 repositoryCheckingplugins/vamfi-software-consultancy/skills/test-strategy-and-plan/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/vamfi/vamfi-plugins/test-strategy-and-plan)