
Go Code Review
Runs through a systematic checklist covering Go Wiki CodeReviewComments and Uber's style guide, organized by category: naming conventions, error handling, concurrency patterns, interface design, and the rest. It runs gofmt and go vet first to catch mechanical issues, then walks through your diff file by file, flagging problems with specific line references. The skill delegates language syntax to specialized skills and focuses on community standards like MixedCaps naming, error flow indentation, and avoiding premature interfaces. It's designed to run proactively before submitting PRs, not just when explicitly asked. Groups findings by severity using a consistent template, which helps separate must-fix issues from nits.
- skills.sh installs
- 1.8K
- GitHub stars
- 193
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cxuu/golang-skills --skill go-code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
Go Code Review Checklist
Compatibility:
references/WEB-SERVER.mduseslog/slogexamples 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.mdwhen formatting the output of a code review to ensure consistent structure with Must Fix / Should Fix / Nits severity grouping.
- Run
gofmt -d .andgo vet ./...to catch mechanical issues first - Read the diff file-by-file; for each file, check the categories below in order
- Flag issues with specific line references and the rule name
- After reviewing all files, re-read flagged items to verify they're genuine issues
- Summarize findings grouped by severity (must-fix, should-fix, nit)
Sponsors
Details
- Repository
- github.com/cxuu/golang-skills
- Categories
- Git & Pull Requests, Code Review & Quality, Go
- First seen
- Apr 16, 2026
More from cxuu/golang-skills
All 20- Go Testing1.4K
- Go Error Handling1.3K
- Go Linting1.3K
- Go Concurrency1.3K
- Go Interfaces1.3K
- Go Documentation1.3K
- Go Style Core1.3K
- Go Performance1.3K
- Go Context1.3K
- Go Naming1.3K
- Go Defensive1.3K
- Go Packages1.3K
- Go Data Structures1.3K
- Go Functional Options1.3K
- Go Control Flow1.3K
- Go Logging1.1K
- Go Functions1.1K
- Go Generics1.1K
- Go Declarations1.1K