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 coding agents write and review concurrent code correctly the first time. ## Core Features & Use Cases - Write mode: Implements goroutines, channels, select loops, worker pools, and fan-out/fan-in pipelines following structured concurrency rules (clear exit paths, context cancellation, sender-closes-channel). - Review mode: Audits PR diffs for goroutine leaks, missing ctx.Done() in select, unprotected shared state, and incorrect WaitGroup usage. - Audit mode: Orchestrates up to 5 parallel sub-agents to scan a large codebase for concurrency anti-patterns. - Use Case: When asked to fetch 50 URLs concurrently with a limit of 10 and fail-fast behavior, it produces errgroup.WithContext plus SetLimit(10) instead of a hand-rolled worker pool. ## Quick Start Ask the agent to write or review concurrent Go code, for example: review this Go function that spawns goroutines and check it for leaks and race conditions.