Sign inGet started
–

Guidance for writing and reviewing concurrent Go code, covering goroutine lifecycle, channels, sync primitives, errgroup, worker pools, and leak prevention.

Lift · GLM-5.3-flash—not yet benchmarked
89
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

What it does

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).

#channels#code-review#concurrency#go#goroutines#sync

Quality judgment

completeness
8.5/10
clarity
8.5/10
trigger quality
9.0/10
examples
6.0/10
structure
8.5/10
overall
8.0/10

The description has excellent positive and negative triggers with clear routing to sibling skills, and the body is comprehensive and well-organized (decision tables, checklist, common mistakes, audit orchestration). Weaknesses: inline code examples are sparse — most patterns are deferred to referenced files not included here — and the modes/orchestration sections add noise without concrete usage guidance.

allowed-tools

Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent AskUserQuestion

Files (6)

evals/evals.json · 16.1 KBLICENSE · 1.0 KBreferences/channels-and-select.md · 4.3 KBreferences/pipelines.md · 7.2 KBreferences/sync-primitives.md · 8.6 KBSKILL.md · 9.3 KB