go-review
Installation
SKILL.md
Go review guidelines
This project uses Go for the CLI (cmd/cog/, pkg/) and support tooling (tools/).
What linters already catch (skip these)
golangci-lint runs errcheck, gocritic, gosec, govet, ineffassign, misspell, revive, staticcheck, and unused. Don't flag issues these would catch.
What to look for
Error handling
- Errors returned but not checked or silently discarded
- User-facing errors should use
pkg/errors.CodedErrorwith error codes - Generic error wrapping that loses context (
fmt.Errorf("failed")with no%w)
Imports