Golang concurrency design — goroutine lifecycle and leak prevention, channels and `select`, channel ownership and direc…
Part of cc-skills-golangPack · 46 skills
by samber· Developer toolsUnclaimed · Yours? Claim it
About
Golang concurrency design — goroutine lifecycle and leak prevention, channels and `select`, channel ownership and direction, `sync.Mutex`/`RWMutex`/`sync.Map`/`sync.Once`/atomics, `errgroup`, `singleflight`, worker pools, and fan-out/fan-in pipelines. Use when writing or reviewing concurrent Go code, when choosing between channels and mutexes, when protecting a shared map or counter, or when a goroutine has no clear exit. Not for defensive coding unrelated to concurrency such as nil panics, slice aliasing, or numeric overflow (→ See `samber/cc-skills-golang@golang-safety` skill), and not for debugging a specific hung, crashing, or racing program after the fact (→ See `samber/cc-skills-golang@golang-troubleshooting` skill).
Skills people install alongside golang-concurrency.
Runs on your machine.
Runs on your machine.
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.copilot/skills/golang-concurrency
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.cursor/skills/golang-concurrency
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.claude/skills/golang-concurrency
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.agents/skills/golang-concurrency
Runs on your machine.
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.gemini/skills/golang-concurrency
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency .agents/skills/golang-concurrency
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.openclaw/skills/golang-concurrency
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.config/opencode/skills/golang-concurrency
Runs on your machine.
npx -y degit samber/cc-skills-golang/skills/golang-concurrency ~/.hermes/skills/golang-concurrency
Scanned and passed · checked 49 min ago
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
No reviews yet. Used golang-concurrency? Say how it went.
Write a reviewTw93's engineering habits as eight skills: plan before you build, debug to root cause, review before you ship, and more.
Go skills for coding agents: idiomatic style, error handling, testing, concurrency, security and performance for production Go projects.
Test Double's coding skills: build test-first, refactor under green tests, review your branch and trace bugs to their root cause.
Nobody has shared how they use golang-concurrency yet.
Security scan
Passed
Safe to install in every agent it supports. Runs in your agent, as instructions.