go-code-review

Installation
SKILL.md

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”).

  4. Pre-report verification — Load and follow review-verification-protocol.
    Pass: The protocol’s Pre-Report Verification Checklist is satisfied for each finding you will report (actual code read, surrounding context checked, “wrong” vs “different style” distinguished, etc.).

Hard gates (same sequence, shorter)

Related skills

More from existential-birds/beagle

Installs
127
GitHub Stars
57
First Seen
Jan 20, 2026