go-concurrency
Skill0 starsChanged 2 months agoMITView on GitHub
Implement or review Go goroutines, channels, shared-state synchronization, cancellation, joining, and work bounds.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- lengrufeng2008/dsh-skill-librarytheir own version, first seen Nov 15, 2026
- inference-gateway/skillstheir own version, first seen Nov 12, 2026
- h0rn3t/golang-skillstheir own version, first seen Nov 12, 2026
- Lu1sDV/skillsmdtheir own version, first seen Nov 1, 2026
- hishamkaram/claude-code-routertheir own version, first seen Oct 27, 2026
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- hishamkaram/claude-code-router★ 12same name
- wpank/ai★ 11same name
- h0rn3t/golang-skills★ 7same name
- inference-gateway/skills★ 3same name
- CasLubbers/code-design-skills★ 2same name
- Lu1sDV/skillsmd★ 2same name
- AllThingsSmitty/proven-skills★ 1same name
- Cadasto/go-coding-plugin★ 0same name
- lengrufeng2008/dsh-skill-library★ 0same 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-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
- go-testingSkill
The file
Files
Go Concurrency
Ownership. Account for each goroutine in the affected path from admission to termination: who observes failure, requests cancellation, releases blocking operations, and waits for completion? Honor requirements and preserve settled choices outside the requested change.
Keep sequential work sequential unless overlap serves a current need. Reuse standard synchronization and existing coordination libraries. A mutex often expresses shared state more clearly than a channel protocol; channels fit communication and ownership transfer. Name the synchronization edge that makes shared reads and writes safe. Concurrent containers and atomics do not make a compound business operation atomic.
Propagate context through dependent calls and release derived contexts. Cancellation is a signal, not a join or proof that an external effect stopped. Give every affected send, receive, wait, and I/O operation an exit story. Give channel closure one owner who can establish that all sends have finished. Do not detach request work without a deliberate lifetime and failure owner.
Bound pending work as well as active work. A semaphore acquired inside an unlimited number of goroutines still permits unlimited waiting. When using errgroup, account for blocking admission and the derived context ending when Wait returns.
Verify the changed race, cancellation, capacity, or shutdown property with controlled coordination and bounded waits. Use the race detector for affected shared-memory paths where supported; it finds exercised races, not liveness failures. Observe worker termination separately and leave no test goroutines running. Report unsupported checks rather than substituting a weaker proof.
For review-only work, do not edit files. Ground each finding in the affected synchronization or blocking path and a concrete failing interleaving; check for an existing exit or join before claiming it is absent.
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.

