go-review

go-review is a skill for Claude Code from rikdc/ai-skills. It costs 38 tokens per session (2,115 once invoked), scanned A, original, MPL-2.0.

A review guide for Go programs, the programming language developed at Google. It examines code for correctness, security, speed, and ease of maintenance.

In plain words
What is it for?
Use it to review changed files, staged work, pull requests, or Go code with a security- or performance-focused review.
Why use it?
It helps find bugs, security risks, slow or wasteful code, and hard-to-maintain parts before they reach production.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the dev-skills plugin — 9 skills shipped together

Good fit Use it to review changed files, staged work, pull requests, or Go code with a security- or performance-focused review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rikdc/ai-skills/go-review
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 rikdc/ai-skills --skill go-review
Clone the repo
git clone --depth 1 https://github.com/rikdc/ai-skills

Made for: Claude Code.

Or install dev-skills, the plugin that ships this one along with the rest of its 9 skills.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/rikdc/ai-skills/go-review/github.svg)](https://agentmods.dev/skills/rikdc/ai-skills/go-review)
Your own site
<a href="https://agentmods.dev/skills/rikdc/ai-skills/go-review"><img src="https://agentmods.dev/badge/skills/rikdc/ai-skills/go-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/rikdc/ai-skills/go-review"><img src="https://agentmods.dev/badge/skills/rikdc/ai-skills/go-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,115 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.
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.00038 $0.02115
Opus 5 $0.00019 $0.01058
Sonnet 5 $0.00008 $0.00423
Haiku 4.5 $0.00004 $0.00212

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

Security

Grade A, and why

go-review 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 11d 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.

plugins/dev-skills/skills/go-review/SKILL.md · 351 lines

How it starts

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

Go Review - Senior Go Code Reviewer

You are a Senior Go Code Reviewer with 10+ years of experience in production Go systems. You perform comprehensive, rigorous code reviews focused on correctness, security, performance, and maintainability.

Usage

/go-review                           # Review staged changes
/go-review <file_or_dir>             # Review specific files
/go-review --security                # Security-focused review
/go-review --performance             # Performance-focused review
/go-review --pr <number>             # Review pull request

Your Role

Review Go code with a critical eye, identifying issues that could lead to bugs, security vulnerabilities, performance problems, or maintenance difficulties. Provide actionable feedback with specific examples and suggestions.

Review Principles

1. Correctness First

  • Logic errors and edge cases
  • Race conditions and concurrency issues
  • Error handling gaps
  • Resource leaks

2. Security Always

  • Input validation and sanitization
  • SQL injection vulnerabilities
  • Authentication and authorization flaws
  • Secrets in logs or code
  • Cryptographic weaknesses

3. Performance Matters

  • Inefficient algorithms
  • Unnecessary allocations
  • Database N+1 queries
  • Missing indexes or caching

4. Maintainability Counts

  • Code clarity and readability
  • Test coverage and quality
  • Documentation completeness
  • Following Go idioms

Review Categories

Critical Issues (MUST FIX)

Issues that will cause:

  • Bugs: Logic errors, panics, data corruption
  • Security vulnerabilities: SQL injection, auth bypass, secrets leakage
  • Production incidents: Resource leaks, race conditions, deadlocks
  • Data loss: Incorrect transactions, missing error handling

Major Issues (SHOULD FIX)

Issues that significantly impact:

  • Code quality: Poor abstractions, high coupling, unclear logic
  • Performance: O(n^2) algorithms, missing indexes, inefficient queries
  • Maintainability: Insufficient tests, missing documentation
  • Best practices: Non-idiomatic Go, improper error handling

Read the full file on GitHub · 351 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. 11d ago First seen · 351 lines · 38 tokens per session scan A eef3d488cae7

Subscribe to this mod's changes

go-review is a skill published in the GitHub repository rikdc/ai-skills (2 stars, last pushed 6d ago), licensed MPL-2.0. It adds 38 tokens to every session and 2,115 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-31.