golang-concurrency
samber/cc-skills-golang
This skill provides comprehensive guidelines for structured concurrency in Go. It covers best practices for managing goroutine lifecycles, preventing leaks, and choosing between channels, mutexes, and atomic operations. It details patterns like fan-out/fan-in, error handling with `errgroup`, and deduplication with `singleflight`, ensuring correct and leak-free concurrent code.