test-strategy
Skill17 starsChanged 3 months agoMITView on GitHub
Define pragmatic, high-confidence test coverage for features, bug fixes, refactors, APIs, workers, queues, and distributed workflows.
24 other projects use a version of this.
Adopted by
Most recently taken up by
- l-gevity/l-gevity-skillstheir own version, first seen Oct 1, 2026
- nurettincoban/ai-prd-workflowtheir own version, first seen Oct 1, 2026
- cilinmengye/personal-agent-skillstheir own version, first seen Sep 24, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- angelgabrieljacintohuayllasco/clipboard-skillstheir own version, first seen Sep 20, 2026
- OneDro1d/onedroid-docstheir own version, first seen Sep 18, 2026
Used with
Projects with it also use test-data-management, security-and-hardening and 1 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.
petrkindlmannSkilltest-data-management
Create and manage test data with factory patterns, fixture strategies, data anonymization, and synthetic data generation. Covers Fishery (TypeScript), FactoryBot (Ruby), Factory Boy (Python), database seeding, cleanup strategies, and GDPR-compliant data handling. Use when: "test data," "fixtures," "factories," "seed data," "synthetic data," "test database," "data anonymization." Not for: migration/integrity testing of the DB itself — use database-testing; environment provisioning and database branching strategy — use test-environments. Related: test-environments, database-testing, api-testing, unit-testing.
Also in 3 projects that use this
LLl0k0laDSkillsecurity-and-hardening
Use when handling user input, authentication, data storage, or external integrations. Use when building any feature that accepts untrusted data, manages user sessions, or interacts with third-party services.
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
Other versions24 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 24
- nurettincoban/ai-prd-workflow★ 297same name
- petrkindlmann/qa-skills★ 160same name
- avelikiy/great_cto★ 103same name
- thiientv/godmode★ 96same name
- nahid-sparktales/agent-dispatcher★ 59same name
- l-gevity/l-gevity-skills★ 44same name
- fishzjp/qa-skills★ 35same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- aethrox/doctrine★ 18same name
- jpolec/odysseus★ 9same name
14 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 22 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 22 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.

