test-strategy
Skill2 starsChanged 22 days agoMITView on GitHub
Choose test scope, assertions, fixtures and execution isolation from the behaviour and risk of the current change, and state the reasons for what is covered and what is not tested. Use to create or adjust a verification approach; language-specific test implementation, completion judgement and release ordering are handled by their dedicated methods.
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 32 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read the approved acceptance, the changed behaviour/interfaces, the candidate content, existing cases and run entry points, dependency …
- Distinctive: line 23
Check the impact surface per Risk and scope, and give the untested items with reasons.
- Distinctive: line 28
Write expectations that can be judged true or false first: Use Assertions and fixtures to verify business results, boundaries, errors and …
- Distinctive: line 32
Arrange order and resources: Verify the run entry point/candidate and fixtures first, then run the cheap, highly discriminating slices.
- Distinctive: line 36
Not run cannot count as passed.
- Distinctive: line 37
Retest by impact and deliver: When the candidate, acceptance or fixtures change, state which evidence is invalidated and retest the …
- Very specific: line 38
Use the test plan fragment to record scope, basis, estimates, limitations and result references.
- Distinctive: line 48
If the chosen layer cannot observe the risk, add one layer rather than piling up assertions of the same kind.
- Distinctive: line 56
When an execution with side effects is interrupted, check handles and results first.
- Distinctive: line 58
When the complete result is not visible, keep it unverified.
“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Risk-driven test strategy
Choose the smallest effective verification mix that catches this change's failure modes. More tests are not automatically more trustworthy, and coverage cannot replace independent expectations.
Inputs
Read the approved acceptance, the changed behaviour/interfaces, the candidate content, existing cases and run entry points, dependency stubs, environment/data ownership, machine resources and comparable durations. For an unknown interface or expectation, settle the contract first; when the run foundation is missing, propose the minimal items to add, and do not build another framework to "improve quality". With an existing plan, add the test part directly; do not copy the overall plan or status board.
Selection and execution
- List behaviours and failure modes. Starting from user-observable results, data/state changes and consumers, build the mapping "behaviour -> possible failure -> capturing layer -> independent assertion -> fixture -> evidence". Check the impact surface per Risk and scope, and give the untested items with reasons.
- Choose the lowest effective layer. L0 copy/static changes may be checked only; L1 local deterministic behaviour gets unit tests or targeted regression; L2 data/interface/state combinations get integration and contract tests; L3 authentication/authorisation, compatibility and critical paths add error cases, concurrency and the necessary end-to-end tests. The levels are test-selection suggestions; several risks can coexist; they are not a quality score or a mechanical add-more-tests package.
- Write expectations that can be judged true or false first. Use Assertions and fixtures to verify business results, boundaries, errors and side effects; a mock only isolates external dependencies and must not let the test bypass the behaviour under test. A defect regression confirms failure from the target symptom before the fix and a pass after it; other tests prove their value through contracts, properties or known boundaries, without manufacturing an error for every test.
- Arrange order and resources. Verify the run entry point/candidate and fixtures first, then run the cheap, highly discriminating slices; independent shards may run in parallel within approved resources. With multiple executors or a shared environment, read Sharding and recovery; do not shard by file count alone.
- Execute and keep the results. Record the first run and reruns; triage failures into product, fixture, environment and contract first; one blocked shard does not stop independent shards. Not run cannot count as passed; N/A needs an applicability reason; a test framework skip does not map to N/A automatically.
- Retest by impact and deliver. When the candidate, acceptance or fixtures change, state which evidence is invalidated and retest the affected slices and adjacent risks.
Use the test plan fragment to record scope, basis, estimates, limitations and result references;
completion judgement goes to
verification-gateor the project's existing equivalent rules.
Scope boundaries
Day-to-day changes get relevant checks and regression; do not automatically require TDD for every change, deleting an existing implementation to rewrite it, or a full suite per task.
The complete release full suite is scheduled only after the user has stated go-live preparation, the candidate is pinned and the corresponding prerequisites are met;
the ordering is release-readiness consuming this strategy.
A partial green cannot be renamed a full suite, and this skill cannot be used to start real external tests.
If the chosen layer cannot observe the risk, add one layer rather than piling up assertions of the same kind. For example, a local function paginating correctly does not prove the proxy preserves the cursor; adding a boundary contract test is enough, and a whole-site E2E is not necessarily needed.
Results and recovery
For the meaning of the status words PASSED/FAILED/BLOCKED/N/A and "not run", see verification-gate. Record the reason for items not yet started.
State product pass and fixture pass separately.
When an execution with side effects is interrupted, check handles and results first; do not restart the same data write while in-flight work is unknown. A first failure followed by a pass still keeps the flakiness information; converge the conclusion only after a clear explanation, an isolating condition or fix evidence. When the complete result is not visible, keep it unverified; exit 0 or a subtask's one-line "passed" is not full coverage.
Resource suggestions
Existing deterministic cases may use low/low; key assertions and isolation design normal/high; grade words map to actual execution configuration through the project resource mapping. Shard by the host limits given by project configuration, such as executors, concurrency quota and machines/environments. Estimates include preparation, queueing, acceptance and necessary retests; actual values go back to project records; do not hard-code models, head counts or average durations.
Sources
- Pinned sources: SP05 test-driven-development, SP06 verification-before-completion.
- From SP05, adopted observable behaviour, failing for the right reason and minimal regression; from SP06, adopted binding conclusions to execution evidence. Risk levels, impact propagation, isolation and result semantics are own-authored for this package. Dropped TDD for every change, deleting implementations to rewrite, a full suite per task, mandatory rerun on every statement and the absolutism that "partial evidence has no value".
- License: shipped with the package as LICENSE-SP.txt (SP, MIT; both sources belong to obra/superpowers); library-wide third-party summary in the root THIRD_PARTY_NOTICES.md. Copy the license file along when copying this package alone.
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 37
- nurettincoban/ai-prd-workflow★ 300same name
- petrkindlmann/qa-skills★ 209same name
- kid-sid/claude-spellbook★ 190same name
- avelikiy/great_cto★ 113same name
- l-gevity/l-gevity-skills★ 72same name
- nahid-sparktales/agent-dispatcher★ 59same name
- fishzjp/qa-skills★ 57same name
- nimadorostkar/Claude-Skills-collection★ 33same name
- caiaffa/claude-code-ultimate-engineering-system★ 17same name
- jpantsjoha/ai-native-developer-experience★ 13same name
27 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use exploratory-testing, unit-testing and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
testified-ossSkillexploratory-testing
Guide exploratory testing sessions including charter creation, session-based testing, heuristics application, and finding documentation. Use when planning exploratory testing, conducting test sessions, or documenting discoveries.
Also in 3 projects that use this
ffsshhttiikkSkillunit-testing
Unit testing best practices and patterns
Also in 3 projects that use this
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 5 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 5 projects that use this
klauswgSkillperformance
Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit".
Also in 3 projects that use this
mrgoonieSkillcontext-engineering
Master context engineering for AI agent systems. Use when designing agent architectures, debugging context failures, optimizing token usage, implementing memory systems, building multi-agent coordination, evaluating agent performance, or developing LLM-powered pipelines. Covers context fundamentals, degradation patterns, optimization techniques (compaction, masking, caching), compression strategies, memory architectures, multi-agent patterns, LLM-as-Judge evaluation, tool design, and project development.
Also in 4 projects that use this
In this repository39 other files it gives its agents.
- ai-trace-auditSkill
- ai-workspace-governanceSkill
- archive-maintenanceSkill
- change-reviewSkill
- cloud-api-integrationSkill
- coding-conventionsSkill
- container-image-managementSkill
- context-handoffSkill
- deployment-patternsSkill
- docker-local-environmentSkill
- documentation-authoringSkill
- estimationSkill
- external-dependency-simulationSkill
- gitlab-webhook-local-gitSkill
- go-patternsSkill
- go-testingSkill
- grpc-proto-contractSkill
- guided-evidence-collectionSkill
- http-api-designSkill
- jenkins-pipeline-jjbSkill
- ldap-rbacSkill
- mysql-migration-safetySkill
- plan-designSkill
- plan-reviewSkill
- playwright-e2eSkill
- project-contextSkill
- pytest-patternsSkill
- readonly-ops-diagnosticsSkill
- redis-patternsSkill
- release-readinessSkill
- role-bootstrapSkill
- security-reviewSkill
- skill-maintenanceSkill
- subtask-dispatchSkill
- systematic-diagnosisSkill
- task-implementationSkill
- verification-gateSkill
- vue3-developmentSkill
- vue-testingSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

