golang-concurrency
golang concurrency
What it does
- Write mode — implement concurrent code (goroutines, channels, sync primitives, worker pools, pipelines). Follow the sequential instructions below.
- [ ] How will it exit? — context cancellation, channel close, or explicit signal
- [ ] Can I signal it to stop? — pass context.Context or done channel
- [ ] Can I wait for it? — sync.WaitGroup or errgroup
- [ ] Who owns the channels? — creator/sender owns and closes
- [ ] Should this be synchronous instead? — don't add concurrency without measured need
- -> See samber/cc-skills-golang@golang-performance skill for false sharing, cache-line padding, sync.Pool hot-path patterns
Requirements & configuration
- | Need | Use | Why |
- [ ] Should this be synchronous instead? — don't add concurrency without measured need
Configuration: GOEXPERIMENT
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
golang-concurrency FAQ
What does the golang-concurrency skill do?
Golang concurrency patterns. Use when writing or reviewing concurrent Go code involving goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, or fan-out/fan-in pipelines. Also triggers when you detect goroutine leaks, race conditions, channel ownership issues, or need to choose between channels and mutexes. Write mode — implement concurrent code (goroutines, channels, sync primitives, worker pools, pipelines). Follow the sequential instructions below. [ ] How will it exit? — context cancellation, channel close, or explicit signal
What does golang-concurrency require?
| Need | Use | Why | [ ] Should this be synchronous instead? — don't add concurrency without measured need Configuration keys: GOEXPERIMENT.
How do I install golang-concurrency?
Run: npx -y skills add https://github.com/samber/cc-skills-golang --skill golang-concurrency --agent claude-code — the source lives at github.com/samber/cc-skills-golang.
Maintain golang-concurrency?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/samber-cc-skills-golang-golang-concurrency?ref=badge) npx agentictools info skills/samber-cc-skills-golang-golang-concurrency The second line is the CLI lookup for this page — handy in READMEs and docs.