go-concurrency
SKILL.md
Go Concurrency Patterns
Production patterns for Go concurrency including goroutines, channels, synchronization primitives, and context management.
When to Use
- Building concurrent Go applications
- Implementing worker pools and pipelines
- Managing goroutine lifecycles and cancellation
- Debugging race conditions
- Implementing graceful shutdown
Concurrency Primitives
| Primitive | Purpose | When to Use |
|---|---|---|
goroutine |
Lightweight concurrent execution | Any concurrent work |
channel |
Communication between goroutines | Passing data, signaling |
select |
Multiplex channel operations | Waiting on multiple channels |