go-review

Reviews Go code for error handling, concurrency, performance, and interface issues.

3|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/ArangoGutierrez/claude-toolkit --skill go-review-arangogutierrez
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: go-review
Source: https://github.com/ArangoGutierrez/claude-toolkit/tree/main/.claude/skills/go-review
Command: npx skills add https://github.com/ArangoGutierrez/claude-toolkit --skill go-review-arangogutierrez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires golangci-lint, and includes references (resource) components.

What problem does it solve? Go code reviews often miss subtle correctness bugs like unwrapped errors, goroutine leaks, and unclear channel ownership while wasting time on style nits that linters already catch. This Skill runs a systematic Go-specific review that flags only correctness, performance, and maintainability issues with concrete file:line locations and suggested fixes. ## Core Features & Use Cases - Static Analysis Integration: Runs golangci-lint run --new-from-rev=HEAD~1 ./... against changed files to surface machine-detectable issues before the manual checklist pass. - Go-Specific Checklist: Walks a structured checklist covering error wrapping, goroutine termination, channel ownership, mutex discipline, slice pre-allocation, and interface design from references/go-review-checklist.md. - Structured Findings Report: Reports each issue as file:line with a category (correctness/performance/maintainability), severity (must-fix/should-fix/consider), and a suggested code fix. - Use Case: Before requesting human review on a Go PR, invoke the skill to catch error-handling and concurrency bugs first, or ask for a full-package review when auditing an entire package for concurrency issues. ## Quick Start Ask the assistant to review the Go code changed since the last commit for error handling, concurrency, and performance issues.

Frequently Asked Questions about go-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Go code for concurrency bugs?▼

Run the go-review skill, which walks a concurrency checklist covering goroutine termination paths, channel ownership, defer mutex unlocks, errgroup usage, and context propagation. Each finding is reported with file:line, severity, and a suggested fix.

How to check Go error handling best practices in a pull request?▼

The skill checks that errors are wrapped with fmt.Errorf and %w, sentinels are package-level vars, and errors.Is/errors.As are used for checks. It scopes to changed files by default, making it suitable for pre-review PR checks.

Does go-review require golangci-lint installed?▼

Yes, golangci-lint must be on PATH for the static-analysis step, which runs golangci-lint run --new-from-rev=HEAD~1 ./... against changed files. No other configuration is needed.

Does go-review check code style and formatting?▼

No, it explicitly skips style and formatting issues because gofmt and golangci-lint already handle them. It only flags correctness, performance, and maintainability problems.

Can I review an entire Go package instead of just changed files?▼

Yes, but only when explicitly requested. By default the review scope is changed files only; ask for a full-package review to apply the same checklist and report format across the whole package.