What problem does it solve? Writing production-grade Go requires consistent decisions about package layout, error handling, concurrency, toolchain versions, and testing. This Skill encodes those decisions so Go code stays idiomatic, maintainable, and verified against the module's declared Go version. ## Core Features & Use Cases - Architecture and package guidance: Recommends cohesive package layouts, interface placement at consumers, and explicit dependency wiring for services, APIs, workers, and libraries. - Backend stack selection: Provides opinionated options for HTTP (net/http, Chi), PostgreSQL (pgx, sqlc), migrations (Goose), and logging (slog) via the backend-stack reference. - Toolchain and upgrade management: Resolves go.mod and go.work directives, GOTOOLCHAIN policy, and GODEBUG defaults, with a dedicated reference for safe Go version upgrades. - Verification workflow: Covers gofmt, go vet, race tests, benchmarks with benchstat, govulncheck, and integration testing practices. - Use Case: When adding a new HTTP endpoint to a Go microservice, the Skill ensures handlers stay transport-focused, errors are wrapped correctly, context propagates through database calls, and tests run with the race detector. ## Quick Start Ask the assistant to review or write Go code for your service, for example by requesting a new REST endpoint with PostgreSQL persistence following idiomatic Go conventions.