New advertisers: 50% off your first month with code FIRSTMONTHSee slots
cxuu avatar

Go Code Review

Go code review checklist covering formatting, errors, naming, concurrency, interfaces, and security checks with tooling.

skills.sh installs
1.8K
GitHub stars
196
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the review procedure: run gofmt and go vet first, then check the diff file by file by category
  • Checks formatting, documentation, error handling, naming, concurrency, interfaces, data structures, security, declarations, functions, style, and logging
  • Includes scripts/pre-review.sh to collect gofmt, go vet, and golangci-lint results, and assets/review-template.md for Must Fix, Should Fix, and Nits grouping
  • Designed for reviewing Go code changes and pull requests, with delegation to specialized Go skills for language-specific detail

Install

$ npx -y skills add cxuu/golang-skills --skill go-code-review -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Go Code Review Checklist

Compatibility: references/WEB-SERVER.md uses log/slog examples that require Go 1.21+.

Resource Routing

  • assets/review-template.md - Use when formatting review output with Must Fix, Should Fix, and Nits sections.
  • scripts/pre-review.sh - Run before manual review to collect gofmt, go vet, and golangci-lint results.
  • references/WEB-SERVER.md - Read when reviewing an HTTP server that combines concurrency, context, logging, error handling, and shutdown behavior.

Review Procedure

Use assets/review-template.md when formatting the output of a code review to ensure consistent structure with Must Fix / Should Fix / Nits severity grouping.

  1. Run gofmt -d . and go vet ./... to catch mechanical issues first
  2. Read the diff file-by-file; for each file, check the categories below in order
  3. Flag issues with specific line references and the rule name
  4. After reviewing all files, re-read flagged items to verify they're genuine issues
  5. Summarize findings grouped by severity (must-fix, should-fix, nit)

Details

Repository
github.com/cxuu/golang-skills
Categories
Code Review & Quality, Go
First seen
Apr 16, 2026

More from cxuu/golang-skills

All 20

Similar to Go Code Review

More Code Review & Quality