What problem does it solve?
This Skill keeps Go projects aligned with community conventions, preventing sloppy naming, formatting, error handling, and concurrency practices that break gofmt, go test, and idiomatic Go expectations.
Core Features & Use Cases
- Naming & Formatting: Enforces PascalCase exports, camelCase internals, acronym rules, gofmt/goimports formatting, and package structuring that satisfy Go tooling.
- Error Handling & Testing: Requires explicit error returns, wrapping policies, table-driven tests, and sensible use of testing helpers like testify or go-cmp for clarity.
- Concurrency & Architecture: Sets channel discipline, goroutine lifecycle plans, context-based cancellations, dependency injection guidance, SQL safety, and Git hygiene for Go-specific workflows.
Quick Start
Ask the agent to apply these Go coding rules before reviewing or writing any Go module.