SKILL41.9K installs3.7K

Golang Concurrency

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.

Type
Skill
Author
samber
Category
Backend
GitHub stars
3.7K
Installs
41.9K
Last updated
November 1, 2026

Install

npx skills add https://github.com/samber/cc-skills-golang --skill golang-concurrency

Use cases


Frequently Asked Questions

What concurrency tools does it cover?

Goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, and fan-out/fan-in pipelines.

Does it help with bugs?

Yes, it triggers on goroutine leaks, race conditions, and channel ownership issues.

Can it help me choose between channels and mutexes?

Yes, that decision is explicitly part of what the skill covers.


About this skill

Covers Go concurrency patterns for goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, and fan-out/fan-in pipelines. It also triggers on goroutine leaks, race conditions, channel ownership problems, and the channels-versus-mutexes decision. Useful both when writing concurrent code and when reviewing it.

Summary written with AI assistance from the project's public description.


Categories


More from samber


Similar Skills