go-code-reviewer

go-code-reviewer is a skill for Claude Code from johnqtcg/awesome-skills. It costs 45 tokens per session (5,905 once invoked), scanned A, original, MIT.

A review workflow for finding real defects and risks in Go code, a programming language commonly used for services and tools.

In plain words
What is it for?
It helps review Go changes, pull requests, code quality, regressions, project-rule compliance, and the severity of reported problems.
Why use it?
It makes reviews evidence-based and aligned with the repository's own rules instead of focusing only on style.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md.

Good fit It helps review Go changes, pull requests, code quality, regressions, project-rule compliance, and the severity of reported problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnqtcg/awesome-skills/go-code-reviewer
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.

Any agent
npx skills add johnqtcg/awesome-skills --skill go-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/johnqtcg/awesome-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for go-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/go-code-reviewer/github.svg)](https://agentmods.dev/skills/johnqtcg/awesome-skills/go-code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/go-code-reviewer"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/go-code-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for go-code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/go-code-reviewer"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/go-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,905 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 218
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
How audits are shown
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.1 $0.00045 $0.05905
Opus 5 $0.00023 $0.02952
Sonnet 5 $0.00009 $0.01181
Haiku 4.5 $0.00005 $0.00590

Measured 12d ago against content hash 012c84fc0bbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

go-code-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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/run_regression.sh, scripts/tests/test_golden_reviews.py, scripts/tests/test_skill_contract.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/go-code-reviewer/SKILL.md · 441 lines

How it starts

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

Go Code Reviewer

Purpose

Use this skill to review Go code for real defects and risk, not just style. The review must be evidence-based, policy-aligned, and actionable.

Quick Reference

When you need to… Jump to
Select review depth (Lite / Standard / Strict) §Execution Modes
Read repo policy before reviewing §Review Policy Sources
Execute full review checklist §Review Checklist
Determine finding severity §Finding Severity
Decide what NOT to report §Review Discipline
Format findings and report §Output Format
See a complete formatted output example Load references/example-output.md

When To Use

Trigger this skill when the user asks for:

  • Go code review / PR review / diff review
  • Code quality or best-practice checks
  • Risk or regression analysis
  • "Is this code compliant with project rules?"

Review Policy Sources (in order)

  1. constitution.md (highest repository policy for this skill)
  2. AGENTS.md (repo workflow/testing/style constraints)
  3. Local package conventions (tests, interfaces, dependency patterns)
  4. Go language/runtime best practices If constitution.md is missing, explicitly state that and continue with AGENTS.md + Go best practices.

Execution Modes (Lite / Standard / Strict)

Choose a mode before starting review and state it in the report.

  • Default mode: Standard
  • Declare the selected mode in a dedicated Review Mode section. Mode selection rules:
  • Choose Lite only when scope is small (typically <=3 files), low-risk, and no security/auth/concurrency/public API changes are involved.
  • Choose Strict when any high-risk signal exists: security/auth, concurrency/lifecycle, HTTP/API contract changes, persistence/schema changes, exported signature changes, or broad refactors (typically >15 files).
  • Use Standard for everything else.

Lite (fast triage)

  • Review focus: confirmed defects with high confidence, avoid speculative architecture commentary.
  • Minimum execution:
    • Run at least one static tool (golangci-lint preferred, else staticcheck/go vet).
    • Run go test for impacted package(s).
    • Run go test -race only if concurrency risk is present; if skipped, state reason.
  • Baseline/Suppression/SLA gates still apply.
  • Finding volume: soft target ≤ 5 findings (severity-tiered; see Workflow step 10).

Read the full file on GitHub · 441 lines

Files

What ships with it

37 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 441 lines · 45 tokens per session scan A 012c84fc0bbb

Subscribe to this mod's changes

go-code-reviewer is a skill published in the GitHub repository johnqtcg/awesome-skills (30 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 5,905 once invoked, about $0.0002 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-30.