go-testing
Skill0 starsChanged 3 months agoMITView on GitHub
Write or review Go unit tests, table tests, doubles, fuzz targets, and deterministic concurrent tests.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- muratmirgun/gopherstheir own version, first seen Aug 11, 2026
- cxuu/golang-skillstheir own version, first seen Jun 20, 2026
- saisudhir14/claude-skillstheir own version, first seen Mar 25, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- cxuu/golang-skills★ 165same name
- muratmirgun/gophers★ 9same name
- saisudhir14/claude-skills★ 9same name
- Integralist/agent-skills★ 3same name
- AllThingsSmitty/proven-skills★ 1same name
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 repository15 other files it gives its agents.
- go-buildSkill
- go-concurrencySkill
- go-dataSkill
- go-debuggingSkill
- go-designSkill
- go-grpcSkill
- go-httpSkill
- go-idiomaticSkill
- go-implementSkill
- go-integrationsSkill
- go-integration-testingSkill
- go-observabilitySkill
- go-performanceSkill
- go-securitySkill
- go-serviceSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
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 16
Use fuzzing when the task or a concrete input-property risk warrants it, with deterministic, independent invocations and a bounded run …
“Common” is measured: kept by at least 6 in 10 of the 5 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
Go Testing
Behavior first. Find the observable promise this change could break. Choose distinguishing fixtures and derive expectations independently of the production algorithm. Preserve contract distinctions in observations and assertions: decoding, normalization, or helpers must not conceal a violation. Honor requirements and preserve settled choices outside the requested change.
Use existing tests and the supported Go baseline to select APIs. Inspect module or runner settings when those choices are uncertain, not as a repeated prerequisite. Preserve assertion and mocking libraries. Start with ordinary values and direct calls; use doubles for meaningful collaborator boundaries and verify interactions only when required. Avoid interfaces created solely to mock internal steps.
Group cases sharing one rule with named subtests; keep distinct behaviors readable. Reuse fixtures and helpers before building a test framework. Register cleanup with the resource owner. Parallelize only isolated cases; process environment, working directory, and shared fixtures are not isolated by subtest names.
For concurrent behavior, use explicit synchronization. Supported testing/synctest can help self-contained time and goroutine tests, not external I/O. Bound waits, join workers, and return worker failures to the test goroutine before fatal assertions. Sleeping does not establish synchronization.
Use fuzzing when the task or a concrete input-property risk warrants it, with deterministic, independent invocations and a bounded run budget. Preserve discovered failures as regression cases; do not start an open-ended fuzz campaign for ordinary unit changes.
For a regression test, establish that it distinguishes the reported defect from the intended behavior, using the original reproducer or a controlled faulty variant where practical. A test that merely restates the implementation is not evidence of the contract.
Run the relevant project tests, confirm execution and skips, and use the race detector for affected shared-memory paths where supported or required. Reuse applicable results for the same revision and environment. Coverage and race results describe exercised behavior, not general correctness or liveness. Report unavailable checks; finish a test review with findings rather than unsolicited edits.
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.

