cxuu avatar

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-code

Installs into .claude/skills of the current project.

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)

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
1xtone avatarpr-triagextone/ai_development_toolsPRの変更内容をトリアージし、変更カテゴリ分類・表層チェック・必要リファレンス判定を行います。結果を`.pr-triage.json`に出力し、後続のコードレビューフェーズで活用します。CI環境でのコスト最適化に使用してください。1.7Kskills.sh installs
2daymade avatargithub-opsdaymade/claude-code-skillsProvides comprehensive GitHub operations using gh CLI and GitHub API. Activates when working with pull requests, issues, repositories, workflows, or GitHub API 1.6Kskills.sh installs
3github avatarthreat-model-analystgithub/awesome-copilotFull STRIDE-A threat model analysis and incremental update skill for repositories and systems. Supports two modes: (1) Single analysis — full STRIDE-A threat mo1.5Kskills.sh installs
4code-yeongyu avatargithub-triagecode-yeongyu/oh-my-opencodegithub triage1.5Kskills.sh installs
5jezweb avatargithub-releasejezweb/claude-skillsPrepare and publish GitHub releases. Sanitizes code for public release (secrets scan, personal artifacts, LICENSE/README validation), creates version tags, and 1.3Kskills.sh installs
6alinaqi avatarcode-reviewalinaqi/claude-bootstrapcode review1.3Kskills.sh installs