What problem does it solve?
This skill reduces bugs, goroutine leaks, and unidiomatic code by providing actionable guidance on Go idioms, safe concurrency, and structured error handling so teams can ship robust backend services.
Core Features & Use Cases
- Idiomatic patterns: naming, small interfaces, composition over inheritance, happy-path left alignment.
- Safe concurrency: goroutine lifecycle management, context cancellation, channel patterns, worker pools, and race detector guidance.
- Error handling & testing: error wrapping with %w, sentinel vs custom errors, table-driven tests, and test helpers using t.Helper().
- Quality and CI: golangci-lint recommendations, structured logging, profiling, and test coverage workflows.
- Use Case: Review a Go HTTP API package to remove goroutine leaks, enforce error-wrapping, add table-driven tests, and produce CI lint/test steps.
Quick Start
Ask the golang skill to review a Go package and produce idiomatic refactors, concurrency fixes, and test suggestions.