vamfi/vamfi-plugins/test-strategy-and-plan

Claude Code and agent skill by vamfi/vamfi-plugins

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

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-plan

Semi-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:

AreaRisk LevelReasonTest Investment
[Payment processing]CriticalFinancial data, complianceHigh: unit + integration + E2E + security
[User authentication]HighSecurity boundaryHigh: unit + integration + security
[Reporting export]MediumData accuracyMedium: unit + integration
[Static content pages]LowNo logicLow: smoke test only
2. Test Pyramid

Define the target test distribution:

/\
/E2E\ (10-20%): critical user journeys
/------\
/ Integ. \ (30-40%): service integrations, API contracts
/----------\
/ Unit Tests \ (50-60%): functions, business logic, edge cases
/--------------\

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 LevelToolReason
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:

StageGateThresholdAction on Fail
Pre-mergeUnit tests100% passBlock PR
Pre-mergeCoverage> 80% on new codeBlock PR
Pre-mergeLinting0 errorsBlock PR
Pre-deploy (staging)Integration tests100% passBlock deploy
Pre-deploy (staging)E2E (smoke)100% passBlock deploy
Pre-deploy (production)E2E (full suite)100% passBlock deploy
Pre-deploy (production)Performance baselinep95 < [target]msBlock 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:

markdown
# Test Plan: [Feature Name]
Sprint: [N] | Author: VAMFI QA Lead
## Scope
In scope: [features covered]
Out of scope: [features not covered by this plan]
## Test Cases Summary
| Level | Count | Automated | Manual |
|---|---|---|---|
| Unit | [N] | [N] | 0 |
| Integration | [N] | [N] | 0 |
| E2E | [N] | [N] | [N] |
## Quality Gate Checklist
[ ] All unit tests passing
[ ] Coverage target met
[ ] Integration suite passing
[ ] E2E smoke suite passing
[ ] No P0 or P1 defects open

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vamfi/vamfi-plugins/test-strategy-and-plan/badge)](https://verified-skill.com/skills/vamfi/vamfi-plugins/test-strategy-and-plan)

Something wrong with this skill or its page? Tell us.