Skip to content

Structured Go review skill that checks idiomatic patterns, error handling, concurrency safety, and version-gated advice from go.mod.

CCM score
49 of 100
skills.sh installs
206
GitHub stars
91
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a four-step review workflow: go.mod baseline, full enclosing context, checklist scoping, and pre-report verification
  • Includes four reference files for error handling, concurrency, interfaces and generics, and common mistakes, plus a severity scale from Critical to Informational
  • Enforces version-gated checks such as loop variable capture before Go 1.22 and slog over log from Go 1.21
  • Designed for reviewing .go files, goroutine usage, error wrapping, and interface design in Go codebases

Install

$ npx -y skills add existential-birds/beagle --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

Review Workflow

Follow this sequence in order. Do not emit findings until every Pass below is satisfied.

  1. Baseline go.mod — Open go.mod and read the go directive.
    Pass: You can state the exact go X.YY value (in the review preamble or working notes). Apply version-gated advice only when it matches this baseline (loop capture pre-1.22, slog/structured logging from 1.21, errors.Join from 1.20).

  2. Read surrounding code — For each changed .go file, read full functions or logical units that contain the edits, not only the diff hunk.
    Pass: At least one full enclosing function (or package-level init/var block) containing the change was read per changed file.

  3. Scope the checklist — Decide which Review Checklist blocks apply (error handling, concurrency, interfaces/types, resources, naming). Load references for those blocks; skip blocks that are irrelevant to the diff.
    Pass: The review (or working notes) lists which checklist blocks you applied, or marks blocks N/A with a one-line reason tied to the diff (e.g. “no concurrency in change”).

Details

Repository
github.com/existential-birds/beagle
Categories
Code Review & Quality, Go
First seen
Jun 3, 2026

Questions

What does the go-code-review skill do?

The go-code-review skill reviews Go code for idiomatic patterns, error handling, concurrency safety, and common mistakes. It covers generics from Go 1.18, errors.Join and slog from Go 1.21, and Go 1.22 loop variable semantics.

How do I install the go-code-review skill?

Run npx -y skills add existential-birds/beagle --skill go-code-review -y in your project to install the go-code-review skill. Once installed, the agent can review .go files, check error handling, goroutine usage, and interface design.

Which category does the go-code-review skill belong to?

The go-code-review skill is listed in the Code Review and Quality category on Claude Marketplaces. Other skills in that category include improve-codebase-architecture, codebase-design, and code-review.

Does the go-code-review skill check the Go version before giving advice?

Yes, the go-code-review skill reads the go directive in go.mod before giving version-specific advice. It applies loop capture, slog, and errors.Join advice only when they match the project's Go version.

More from existential-birds/beagle

All 37

Similar to Go Code Review

More Code Review & Quality