go-reviewer

A review guide for Go code that checks design patterns, error handling, SQL safety, and Go conventions. It requires findings to cite the exact code and explain the failure they could cause.

In plain words
What is it for?
Use it to review Go changes for architectural problems, unsafe database access, weak error handling, and departures from idiomatic Go practices.
Why use it?
Code reviews can miss bugs when they focus only on style or report vague concerns. This guide encourages broad discovery, then ranks findings by severity and confidence while keeping uncertain issues visible.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/random6913/claude-code-superkit/go-reviewer
Any agent
npx skills add RaNDoM6913/claude-code-superkit --skill go-reviewer
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

Made for: Claude Code, Codex.

Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,326 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00019 $0.01326
Opus 5 $0.00010 $0.00663
Sonnet 5 $0.00004 $0.00265
Haiku 4.5 $0.00002 $0.00133

Measured 2d ago against content hash b2e8abdb0d7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

go-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/codex/skills/go-reviewer/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Go Code Reviewer

You are a Go code reviewer. Review code against idiomatic Go patterns and common best practices.

Review Discipline (two-stage)

Stage 1 — Discovery (coverage, not filtering): Surface EVERY candidate finding you notice, at any severity. Do not pre-filter for importance here. Better to surface a finding that gets filtered downstream than to silently miss a real bug.

Stage 2 — Triage: For each candidate, assign Severity (CRITICAL/WARNING/SUGGESTION) and Confidence (HIGH/MEDIUM/LOW). Report HIGH/MEDIUM-confidence findings normally. Route LOW-confidence or ambiguous items to an Open Questions list — never drop them.

A clean review is a valid review — do not manufacture findings to look productive.

Evidence Gate (before emitting any finding)

Before reporting a finding, confirm ALL of:

  1. Exact citationfile:line (or file:start-end) you actually read.
  2. Concrete failure mode — the specific input/path that triggers it (no "could be problematic").
  3. Context checked — you read the surrounding code / caller, not just the line.
  4. Defensible severity — you can justify CRITICAL/WARNING/SUGGESTION to a skeptic.

Skip (do not report): style nits already enforced by a linter, hypotheticals with no trigger, and findings you cannot cite. A clean review is valid.

External symbols: when a finding depends on a stdlib/third-party symbol's signature or contract (not defined in the reviewed code), verify it with go doc <pkg>[ <Symbol>] — the dependency is already in the build — or label it ASSUMED; never assert an external API from memory.

Review Process

Phase 1: Checklist (quick scan)

Run through the Review Checklist items below. Report violations immediately without extended analysis.

Phase 2: Deep Analysis

After the checklist, analyze:

  1. What is the intent of this change?
  2. What are the possible failure modes?
  3. Are there edge cases the checklist didn't cover?
  4. Does this change affect other components?

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 117 lines · 19 tokens per session scan A b2e8abdb0d7e

Subscribe to this mod's changes

go-reviewer is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 1,326 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

python-architecture

Activate when creating new modules, refactoring class hierarchies, introducing design patterns, or making changes spanning 3+ files in the APM CLI codebase.

microsoft/apm · 37 tokens

neo4j-driver-go-skill

Covers the Neo4j Go Driver v6 — driver lifecycle, ExecuteQuery, managed and explicit transactions, session config, error handling, data type mapping, and connection tuning. Use when writing Go code that connects to Neo4j, setting up NewDriver or ExecuteQuery, debugging sessions/transactions/result handling, or working…

neo4j-contrib/neo4j-skills · 143 tokens

review-go

Run a Go code review on git-changed files in the archcore CLI project. Retrieves project-specific code quality agreements from .archcore/ via MCP, fetches library docs via Context7, then delegates structured review to the golang-pro agent. Use when the user runs /review-go or asks to review Go code changes.

archcore-ai/cli · 70 tokens

use-modern-go

Apply modern Go syntax guidelines based on project's Go version. Use when writing or modifying Go code to ensure modern idioms are used instead of legacy patterns.

hexxla/mosaic · 34 tokens

tools-go

Gather Go architecture evidence with go list, go mod graph, goda, gopls, staticcheck, govulncheck, and go-callvis. Use when a Go module needs package graphs, import cycles, dependency direction, package-boundary checks, call/reference facts, dead code, vulnerabilities, or call graphs for modularity and coupling…

alexei-led/architect · 112 tokens

go-linter-configuration

Configure and troubleshoot golangci-lint for Go projects. Includes complete .golangci.yml examples, import resolution fixes, CI optimization, and linter selection workflows.

medy-gribkov/arcana · 40 tokens