Стандарты разработки на Go
engineering
go-dev is a Claude Code skill that enforces Go development standards covering naming conventions, error handling, concurrency patterns, and testing practices. It applies to `*.go`, `go.mod`, and `go.sum` files and mandates a specific toolchain: `goimports` for formatting and import organization, `go vet` and `golangci-lint` for static analysis, and `go test -race -cover` for tests with race detection and coverage reporting. The skill defines naming rules for packages, variables, interfaces, and constants — banning meaningless names like `util` or `common` — and requires error wrapping with `%w` checked via `errors.Is()`/`errors.As()`. Concurrency guidelines emphasize `context.Context` lifecycle control and channel-based communication, while performance sections cover `strings.Builder`, worker pools, semaphores, and profiling with `go tool pprof`. Based on Effective Go, Go Code Review Comments, and uber-go/guide, it suits teams standardizing a Go codebase or onboarding engineers to consistent backend coding practices.
- #go
- #backend
- #concurrency
- #error-handling
- #testing
- #coding-standards