What problem does it solve? Concurrent Go code is prone to goroutine leaks, race conditions, channel ownership bugs, and deadlocks that are hard to detect in review and expensive in production. This Skill encodes Go concurrency best practices so AI agents write and review concurrent code correctly the first time. ## Core Features & Use Cases - Write mode: Implement goroutines, channels, worker pools, and fan-out/fan-in pipelines with correct shutdown, context propagation, and error handling via errgroup. - Review mode: Audit PR diffs for goroutine leaks, missing ctx.Done() in select, channel ownership violations, and unprotected shared state. - Audit mode: Run up to 5 parallel sub-agents to scan a codebase for concurrency anti-patterns like time.After in hot loops, unbounded spawning, and sync.Map misuse. - Use Case: When asked to fetch 50 URLs with at most 10 concurrent requests and fail-fast behavior, it produces errgroup.WithContext plus SetLimit(10) instead of a hand-rolled worker pool. ## Quick Start Ask the agent to review your Go service's concurrent code for goroutine leaks and race conditions using the golang-concurrency guidelines.