From vamfi-software-consultancy
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.
npx claudepluginhub vamfi/vamfi-plugins --plugin vamfi-software-consultancyThis skill uses the workspace's default tool permissions.
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.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
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.
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.
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 |
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):
| 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] |
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 |
Embed testing earlier in the SDLC:
Define how test data is created and managed:
For a specific feature or sprint, produce a test plan:
# 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
references/test-level-patterns.md — Detailed patterns per test levelassets/test-strategy-template.md — Blank test strategy template