testing
Skill1 starsChanged 8 months agoMITView on GitHub
Pragmatic testing guidance focused on confidence, behavior over implementation details, and integration-first coverage. Use when designing a test strategy, writing or reviewing tests, reducing brittle mocks, or deciding what is worth testing in an application or library.
123 other projects use a version of this.
Adopted by
Most recently taken up by
- timmo001/skillstheir own version, first seen Oct 5, 2026
- kortix-ai/sunatheir own version, first seen Oct 5, 2026
- gilsmt/skillstheir own version, first seen Oct 4, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- JetBrains/intellij-communitytheir own version, first seen Oct 3, 2026
- shinpr/codex-workflowstheir own version, first seen Oct 2, 2026
Used with
Projects with it also use oss-pr, pr-automation and 10 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.
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
ffsshhttiikkSkillcicd
Continuous integration and delivery pipelines
Also in 4 projects that use this
ffsshhttiikkSkillnetworking
Practical application and coding skills for Networking
Also in 3 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 9 projects that use this
Cogni-AI-OUSkilldotfiles
Reference for repository dotfiles, including their purposes, standard configurations, and usage guidelines. You MUST load this skill when configuring, troubleshooting, or understanding repository dotfiles.
Also in 3 projects that use this
- +2 more from CES-Ltd
- +1 more from ffsshhttiikk
Other versions123 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 123
- lobehub/lobehub★ 83ksame name
- iOfficeAI/AionUi★ 33ksame name
- JetBrains/intellij-community★ 21ksame name
- kortix-ai/suna★ 20ksame name
- modelcontextprotocol/inspector★ 11ksame name
- microsoft/fast★ 9.7ksame name
- bytebase/dbhub★ 3.6ksame name
- theopenco/llmgateway★ 1.7ksame name
- BankrBot/skills★ 1.2ksame name
- microsoft/CCF★ 875same name
113 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 repository9 other files it gives its agents.
- skill-creatorSkill
- find-buggy-commitSkill
- git-commitSkill
- npm-security-best-practicesSkill
- root-cause-tracingSkill
- systematic-debuggingSkill
- systems-thinkerSkill
- write-prdSkill
- zero-tech-debtSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 16 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 105 edited versions we read keep these.
16
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 12
Read references/strategy.md when deciding what to test, how much to test, or how to prioritize coverage.
- Distinctive: line 13
Read references/fundamentals.md when you need the core mental model for assertions, frameworks, isolation, and useful failures.
- Distinctive: line 14
Read references/interaction-testing.md when testing user-visible behavior, flows, or observable system interactions.
- Distinctive: line 15
Read references/quality-gates.md when deciding how static checks, automated tests, manual checks, and delivery gates should work together.
- Distinctive: line 16
Read references/mocking.md when dealing with stubs, spies, mocks, randomness, or flaky external boundaries.
- Distinctive: line 17
Read references/glossary.md when the user asks about testing terminology.
- Distinctive: line 21
Test behavior through public interfaces.
- Distinctive: line 22
Follow a testing trophy bias: lean on static checks and integration tests, with fewer unit and end-to-end tests.
- Distinctive: line 23
Prefer a few high-value integration tests over many shallow micro-tests.
- Distinctive: line 26
Keep tests deterministic, small, and readable.
- Distinctive: line 35
Keep failures specific and setup cleanup reliable.
- Distinctive: line 36
Remove setup, mocks, and assertions that do not increase confidence.
- Distinctive: line 44
Default to integration tests when unsure.
- Distinctive: line 57
Test the path users actually take, not the implementation you happen to have today.
- Distinctive: line 58
Prefer one clear reason for a test to fail.
- Distinctive: line 60
If a test is hard to write, consider whether the production API or design is the real problem.
- Very specific: line 61
When unsure what to automate first, start with the prioritization checklist in references/strategy.md.
“Common” is measured: kept by at least 6 in 10 of the 105 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
Design tests that increase confidence, survive refactors, and reflect real usage.
Reference Map
- Read references/strategy.md when deciding what to test, how much to test, or how to prioritize coverage.
- Read references/fundamentals.md when you need the core mental model for assertions, frameworks, isolation, and useful failures.
- Read references/interaction-testing.md when testing user-visible behavior, flows, or observable system interactions.
- Read references/quality-gates.md when deciding how static checks, automated tests, manual checks, and delivery gates should work together.
- Read references/mocking.md when dealing with stubs, spies, mocks, randomness, or flaky external boundaries.
- Read references/glossary.md when the user asks about testing terminology.
Defaults
- Test behavior through public interfaces.
- Follow a testing trophy bias: lean on static checks and integration tests, with fewer unit and end-to-end tests.
- Prefer a few high-value integration tests over many shallow micro-tests.
- Mock only real boundaries: network, time, randomness, payments, third-party APIs.
- Choose assertions a user, caller, or downstream system would care about.
- Keep tests deterministic, small, and readable.
Workflow
- Identify the highest-risk behavior or workflow.
- Pick the cheapest test level that can prove it: static, unit, integration, or end-to-end.
- Arrange realistic inputs, state, and environment.
- Act through the public API, visible surface, or command boundary.
- Assert observable outcomes, not internal steps.
- Keep failures specific and setup cleanup reliable.
- Remove setup, mocks, and assertions that do not increase confidence.
Test Level Guide
- Unit: pure logic, parsing, formatting, branching, edge cases.
- Integration: component or service workflows, validation, state changes, error handling.
- End-to-end: a few critical user journeys or irreversible flows.
Default to integration tests when unsure.
Red Flags
- Tests fail after a refactor even though behavior did not change.
- Coverage is rising, but confidence is not.
- Most value comes from mocking internals.
- Assertions focus on function calls instead of outcomes.
- Snapshots are large, blind, or treated as primary verification.
- The suite is slow mainly because tests duplicate setup with low signal.
Guidance
- Test the path users actually take, not the implementation you happen to have today.
- Prefer one clear reason for a test to fail.
- Cover happy path, one meaningful edge case, and one important failure mode before expanding.
- If a test is hard to write, consider whether the production API or design is the real problem.
- When unsure what to automate first, start with the prioritization checklist in
references/strategy.md.
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.

