Go Review

Go specialist code review — idiomatic Go, concurrency, error handling, performance

Invoke the go-reviewer agent to perform a comprehensive Go code review.

If an argument is provided and is a number, treat it as a GitHub PR number. If no argument, review local uncommitted changes (git diff --staged and git diff).

The agent will:

  1. Establish review scope
  2. Run go vet, staticcheck, golangci-lint if available
  3. Review against Go checklist (security, error handling, concurrency, idiomatic patterns)
  4. Report findings with severity levels and approval verdict