testing-strategy
Skill198 starsChanged 4 days agoMITView on GitHub
Create a risk-based testing strategy covering unit, integration, contract, end-to-end, security, and non-functional verification for any technology stack.
59 other projects use a version of this.
Adopted by
Most recently taken up by
- raphaeldiscky/skillstheir own version, first seen Nov 29, 2026
- localtaskrepo/lotartheir own version, first seen Nov 29, 2026
- camilooscargbaptista/cto-toolkittheir own version, first seen Nov 29, 2026
- bmsuisse/skillstheir own version, first seen Nov 27, 2026
- reaatech/mcp-changelogtheir own version, first seen Nov 22, 2026
- rotnov/pycctheir own version, first seen Nov 22, 2026
Used with
Projects with it also use api-contract-design, deploy-checklist and 7 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.
MohOneXSkillapi-contract-design
Designs and reviews API contracts (REST, RPC, GraphQL, library interfaces) for evolvability, backward compatibility, and failure semantics. Use when defining new endpoints/interfaces, versioning an API, reviewing a schema, or deciding how breaking changes propagate to clients.
Also in 3 projects that use this
AnthropicSkilldeploy-checklist
Pre-deployment verification checklist. Use when about to ship a release, deploying a change with database migrations or feature flags, verifying CI status and approvals before going to production, or documenting rollback triggers ahead of time.
Also in 4 projects that use this
xenitV1Skillreact-patterns
Modern React patterns and principles. Hooks, composition, performance, TypeScript best practices.
Also in 4 projects that use this
AnthropicSkilltech-debt
Identify, categorize, and prioritize technical debt. Trigger with "tech debt", "technical debt audit", "what should we refactor", "code health", or when the user asks about code quality, refactoring priorities, or maintenance backlog.
Also in 4 projects that use this
SentrySkillfeature-flags
Gate a Sentry feature behind a FlagPole feature flag. Use when adding a feature flag, registering a flag in temporary.py, checking a flag from Python or the frontend, enabling a flag in tests, or asking where FlagPole rollout config lives. Trigger on "add a feature flag", "gate this behind a flag", "register a flag", "features.has", "api_expose", "OrganizationFeature", "ProjectFeature", "FlagPole".
Also in 3 projects that use this
MicrosoftSkillerror-handling
统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。
Also in 5 projects that use this
- +2 more from anthropics
Other versions59 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 59
- anthropics/knowledge-work-plugins★ 37ksame name
- chthollyphile/folia-major★ 14ksame name
- AnastasiyaW/claude-code-config★ 218same name
- AnastasiyaW/codex-claude-code-config★ 218same name
- irahardianto/awesome-agv★ 157same name
- Blushyes/reef★ 84same name
- shinpr/agentic-code★ 51same name
- addxai/enterprise-harness-engineering★ 44same name
- drafthq/draft★ 40same name
- zakariaf/Flutter-Skills★ 32same name
49 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.
In this repository20 other files it gives its agents.
- api-designSkill
- application-securitySkill
- apply-renovate-prsSkill
- architecture-guidelinesSkill
- authentication-authorizationSkill
- configuration-and-secretsSkill
- data-access-and-migrationsSkill
- database-designSkill
- deployment-and-deliverySkill
- external-integrations-and-messagingSkill
- java-code-reviewSkill
- jspecify-skillSkill
- observabilitySkill
- pair-programmingSkill
- progenSkill
- reliability-and-performanceSkill
- spec-writerSkill
- spring-boot-skillSkill
- spring-modulith-verifierSkill
- technical-decision-makingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 17 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 47 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use when planning a feature, defining test layers, investigating defects, changing critical behavior, or evaluating release readiness.
- Distinctive: line 16
Prefer tests that verify externally meaningful behavior over tests coupled to implementation details.
- Distinctive: line 17
Use the lowest-cost test level that provides trustworthy evidence.
- Distinctive: line 18
Keep tests deterministic, isolated, readable, and maintainable.
- Distinctive: line 19
Avoid excessive mocking that makes tests pass while real dependencies fail.
- Distinctive: line 20
Use realistic infrastructure for critical integration behavior when practical.
- Distinctive: line 21
Test failure paths and boundary conditions, not only the happy path.
- Distinctive: line 22
Treat test data, cleanup, and environment reproducibility as first-class concerns.
- Distinctive: line 23
Do not optimize for coverage percentage alone.
- Distinctive: line 27
Component/service integration: Verify behavior across collaborating components and real boundaries.
- Distinctive: line 28
Contract: Verify compatibility between API or message producers and consumers.
- Distinctive: line 29
End-to-end: Verify a small number of critical user workflows through deployed application boundaries.
- Distinctive: line 30
Non-functional: Verify performance, resilience, accessibility, security, and capacity where relevant.
- Distinctive: line 37
Create representative, boundary, invalid, and adversarial test cases.
- Distinctive: line 39
Ensure tests are repeatable in local and CI environments.
- Distinctive: line 40
Run relevant tests and report what was and was not verified.
- Distinctive: line 57
When reporting verification, state exact commands or suites run, results, skipped checks, environmental limitations, and remaining risks.
“Common” is measured: kept by at least 6 in 10 of the 47 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
Testing Strategy
Purpose
Define how to obtain reliable evidence that application behavior meets requirements and remains correct as the system changes.
When to use
Use when planning a feature, defining test layers, investigating defects, changing critical behavior, or evaluating release readiness.
Principles
- Derive tests from requirements, invariants, risks, and observable behavior.
- Prefer tests that verify externally meaningful behavior over tests coupled to implementation details.
- Use the lowest-cost test level that provides trustworthy evidence; retain higher-level tests for integration risks.
- Keep tests deterministic, isolated, readable, and maintainable.
- Avoid excessive mocking that makes tests pass while real dependencies fail.
- Use realistic infrastructure for critical integration behavior when practical.
- Test failure paths and boundary conditions, not only the happy path.
- Treat test data, cleanup, and environment reproducibility as first-class concerns.
- Do not optimize for coverage percentage alone; coverage is a signal, not proof of quality.
Test layers
- Unit: Fast checks of isolated rules and transformations.
- Component/service integration: Verify behavior across collaborating components and real boundaries.
- Contract: Verify compatibility between API or message producers and consumers.
- End-to-end: Verify a small number of critical user workflows through deployed application boundaries.
- Non-functional: Verify performance, resilience, accessibility, security, and capacity where relevant.
Workflow
- Extract acceptance criteria and business invariants.
- Identify risks: financial, security, data integrity, concurrency, integrations, and user impact.
- Map each risk to one or more verification methods.
- Select test layers and define required test environments.
- Create representative, boundary, invalid, and adversarial test cases.
- Include failure, timeout, retry, duplicate, and recovery scenarios where applicable.
- Ensure tests are repeatable in local and CI environments.
- Run relevant tests and report what was and was not verified.
Test design checklist
- Happy path and alternate valid paths.
- Missing, malformed, oversized, and out-of-range input.
- Authentication and authorization failures.
- Ownership and tenant isolation.
- Duplicate submissions and concurrent updates.
- Dependency failures, timeouts, and partial completion.
- Data constraints, transaction rollback, and migration behavior.
- Pagination boundaries and large datasets.
- Backward compatibility for supported clients.
- Accessibility and usability for important user journeys.
Quality gates
Define project-appropriate gates such as formatting, static analysis, unit/integration tests, dependency/security scans, contract checks, and end-to-end smoke tests.
When reporting verification, state exact commands or suites run, results, skipped checks, environmental limitations, and remaining risks. Never claim tests passed if they were not executed.
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.

