test-strategy
Skill17 starsChanged 58 days agoMITView on GitHub
Define pragmatic, high-confidence test coverage for features, bug fixes, refactors, APIs, workers, queues, and distributed workflows.
39 other projects use a version of this.
Adopted by
Most recently taken up by
- frnkgns/Overgeared-Skillstheir own version, first seen Nov 8, 2026
- reddygopalkrishna/developer-agent-skillstheir own version, first seen Nov 8, 2026
- l-gevity/l-gevity-skillstheir own version, first seen Nov 6, 2026
- hatemecha/skillstheir own version, first seen Nov 1, 2026
- lelborn/skillstheir own version, first seen Nov 1, 2026
- MarieLynneBlock/arcanum-artifextheir own version, first seen Nov 1, 2026
Used with
Projects with it also use database-testing, data-pipelines 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.
petrkindlmannSkilldatabase-testing
Validate database integrity, test migrations forward and backward, verify schema constraints, manage seed data, detect migration drift, and identify query performance issues. Covers PostgreSQL, MySQL, MongoDB with Prisma, TypeORM, Drizzle, and SQLAlchemy, plus Testcontainers test databases. Use when: "database test," "migration test," "migration rollback," "rollback test," "data integrity," "SQL test," "schema validation," "seed data," "query performance," "Testcontainers." Not for: synthetic data generation/masking at scale — use test-data-management; Docker/IaC test-environment provisioning — use test-environments; SQL injection — use security-testing. Related: test-data-management, test-environments, security-testing, ci-cd-integration.
Also in 3 projects that use this
YepAPISkilldata-pipelines
ETL patterns, cron scheduling, queue-based processing, and batch jobs with Inngest/BullMQ.
Also in 3 projects that use this
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 4 projects that use this
Microsoft AzureSkillrelease-readiness
Complete ODIN release documentation and validation checks before declaring user-visible work complete, preparing a release, or opening the Release-to-main pull request.
Also in 4 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
Other versions39 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 39
- nurettincoban/ai-prd-workflow★ 300same name
- petrkindlmann/qa-skills★ 209same name
- kid-sid/claude-spellbook★ 190same name
- avelikiy/great_cto★ 112same name
- l-gevity/l-gevity-skills★ 80same name
- fishzjp/qa-skills★ 62same name
- nahid-sparktales/agent-dispatcher★ 59same name
- nimadorostkar/Claude-Skills-collection★ 33same name
- jpantsjoha/ai-native-developer-experience★ 13same name
- Mozurok/fhorja.dev★ 10same name
29 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 repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adr-challengerSkill
- api-designSkill
- architecture-decisionsSkill
- async-systemsSkill
- code-reviewSkill
- database-engineeringSkill
- dora-metricsSkill
- engineering-economicsSkill
- incident-responseSkill
- nestjs-architecture-guardianSkill
- node-runtime-reliabilitySkill
- observabilitySkill
- performance-analysisSkill
- prd-reviewSkill
- production-readinessSkill
- release-planningSkill
- repo-onboardingSkill
- safe-refactoringSkill
- security-reviewSkill
- systematic-debuggingSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
2
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 8
Test the right behavior at the right layer with the least fragility and the highest confidence.
- Distinctive: line 47
No test exercises the retry/failure path.
“Common” is measured: kept by at least 6 in 10 of the 34 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
Mission
Test the right behavior at the right layer with the least fragility and the highest confidence.
When to use
- Implementing new features.
- Fixing bugs (regression tests).
- Refactoring risky paths.
- Defining coverage for APIs, workers, queues.
- Reducing flaky or low-value tests.
Handoff
- Receives from: backend-platform-engineer (after implementation) or code-review (identified gaps).
- Hands off to: code-review (for final review), release-commander (for deploy).
Test layer selection
| What you're testing | Right layer | Wrong layer |
| Pure business logic (calculations, rules, transforms) | Unit test | Integration test (too slow, too coupled) |
| API contract (request → response shape, status codes) | Integration test | Unit test (misses middleware, validation) |
| Database behavior (queries, transactions, constraints) | Integration test with real DB | Unit test with mocked DB (useless) |
| Queue consumer (job lifecycle, retries, idempotency) | Integration test with real Redis | Unit test (misses BullMQ behavior) |
| Cross-service contract | Contract test | E2E test (too fragile, too slow) |
| Critical user journey | E2E (sparingly) | Everything else (too many E2E = slow CI) |
Must-test scenarios for every feature
- Happy path — normal flow works.
- Validation failures — invalid input rejected correctly.
- Error cases — what happens when dependencies fail?
- Idempotency — same request twice = same result.
- Edge cases — empty, null, max length, boundary values.
- Concurrency — two simultaneous requests for the same resource.
Must-test scenarios for bug fixes
- Regression test — exact scenario that caused the bug.
- Neighboring scenarios — similar inputs that might also fail.
Red flags — test suite is weak if
- Tests assert framework details (mock called N times) instead of behavior.
- Tests break when you refactor internals without changing behavior.
- Database behavior is mocked away for data-critical paths.
- No test exercises the retry/failure path.
- 100% coverage but no edge case or failure scenario tests.
Output format
- Behaviors to protect (specific, concrete)
- Test cases (scenario, expected result, test layer)
- Missing coverage (risks not tested)
- Implementation order (most critical first)
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.

