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.
Install
npx skills add samber/cc-skills-golang --skill golang-concurrencynpx skills add samber/cc-skills-golang --skill golang-concurrency -a claude-code -gnpx skills add samber/cc-skills-golang --skill golang-concurrency -a codex -ggemini skills install https://github.com/samber/cc-skills-golang.git --path skills/golang-concurrencygh skill install samber/cc-skills-golang golang-concurrencygit clone --depth 1 https://github.com/samber/cc-skills-golang /tmp/samber__cc-skills-golang
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/samber__cc-skills-golang/skills/golang-concurrency ~/.claude/skills/golang-concurrency # Claude Code
cp -R /tmp/samber__cc-skills-golang/skills/golang-concurrency ~/.agents/skills/golang-concurrency # Codex, Cursor, Gemini CLI, Copilot, OpenCode