← ClaudeAtlas

go-devlisted

Go development with toolchain-first verification workflow. Use whenever the user (1) writes, modifies, debugs, or reviews Go code, (2) works with go.mod, go.sum, or Go module dependencies, (3) writes or runs Go tests, benchmarks, or fuzz tests, (4) mentions go doc, go vet, go fix, go test, go build, go mod, gofmt, staticcheck, golangci-lint, govulncheck, or pprof, (5) asks about Go error handling (errors.Is/As/AsType/Join), concurrency (goroutines, channels, sync, context), interfaces, or package design, (6) encounters Go compiler errors, test failures, or race conditions, (7) profiles Go code for performance or works with PGO, (8) asks about Go best practices, code review, or idiomatic Go, (9) works with files ending in .go or _test.go, (10) wants to modernize Go code to 1.21-1.26 features. Trigger this skill proactively when the user is working in a Go codebase even if they do not explicitly ask for Go help - the toolchain-first workflow (verify APIs with go doc before coding, run go vet after) catches bugs
pszypowicz/claude-skills · ★ 0 · Code & Development · score 72
Install: claude install-skill pszypowicz/claude-skills
# Go Development ## Session Init At the start of any Go session, detect the project's Go version: 1. Read `go.mod` and extract the `go` directive (e.g., `go 1.26`) 2. This version controls which language features and stdlib APIs are available 3. If you are about to suggest a feature gated behind a newer version, stop and note the incompatibility ### Version Feature Table | Version | Key additions | | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 1.21 | `log/slog`, `slices`, `maps`, `min`/`max`/`clear` builtins, `context.AfterFunc`, `context.WithoutCancel`, `sync.OnceFunc`/`OnceValue`, PGO auto | | 1.22 | `for i := range n`, `math/rand/v2`, enhanced `http.ServeMux` routing (method+pattern), loopvar semantic change | | 1.23 | `iter.Seq`/`iter.Seq2`, range-over-func, `unique.Handle`, `structs.HostLayout` | | 1.24 | `testing.T.Context`, `testing.T.Chdir`, `os.Root`, generic type aliases, `go tool` runs module tools, `testing/synctest`, `omitzero` JSON tag | | 1.25 | `sync.WaitGroup.Go`, `testing.T.Attr`, `testing.T.Output`, `sync.