What problem does it solve? Writing correct, idiomatic Go requires juggling concurrency lifetimes, error-wrapping chains, version-gated standard library APIs, and testing traps that silently produce flaky or leaking code. This Skill encodes those rules and workflows so an agent produces Go that passes go vet, the race detector, and code review on the first pass. ## Core Features & Use Cases - Opinionated core rules: 22 adjudicated rules covering goroutine lifetimes, channel ownership, errgroup, %w wrapping with errors.Is/errors.AsType, zero-value design, and package layout, each gated on the go directive in go.mod. - Six task workflows: implement, add-tests, fix-race-or-leak, profile-hot-path, upgrade-modules, and review, each ending in a verifiable gate such as go test -race ./... or a benchstat significance check. - Deep reference material: Topic-routed references on concurrency, errors, testing, performance profiling with pprof and runtime/trace, modern standard library APIs (slices, maps, iter, math/rand/v2, log/slog), and modules and workspaces. - Use Case: Ask the agent to review a download-path file; it flags the concurrent map writes as a data race, the never-closed channel as a goroutine leak, replaces the hand-rolled worker pool with errgroup.WithContext plus g.SetLimit, and names goleak as the regression guard. ## Quick Start Ask the agent to review or write Go code in this project, for example: review fetcher.go for races, leaks, and missing timeouts and show the corrected code.