go-code-review

go-code-review is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 43 tokens per session (954 once invoked), scanned A, original, MIT.

A Go code review for error handling, goroutine cleanup, and cancellation through contexts. Go is a programming language often used for services and command-line programs.

In plain words
What is it for?
Use it to review Go handlers, workers, packages, and changes involving error paths.
Why use it?
It helps reveal failures that are ignored, background tasks that never stop, and requests that continue after their caller has canceled them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to review Go handlers, workers, packages, and changes involving error paths.

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/go-code-review"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/go-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 954 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.00043 $0.00954
Opus 5.5 $0.00017 $0.00382
Sonnet 5.5 $0.00009 $0.00191
Haiku 4.5 $0.00004 $0.00095

Measured 17d ago against content hash a5aa6757f7db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

antigravity/go/go-code-review/SKILL.md · 85 lines

How it starts

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

Go Code Review Skill for Antigravity CLI

Install

Install the native export at .agents/skills/go-code-review/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

Go Code Review

Shared skill go-code-review for Go. Codex and Antigravity CLI both read .agents/skills/go-code-review/SKILL.md. Install this one file. Codex calls it with $go-code-review or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this review for a Go change: a handler, a worker, a package, or "check the error paths".

When to leave it

Stop for a non-Go repository. Do not bump the go line in go.mod unless the user asked.

Steps

  1. Read the go version in go.mod. GOEXPERIMENT=simd without a written reason is a high finding. An import of encoding/json/v2 on a module older than 1.27 is a high finding. On 1.27, encoding/json is already the v2 implementation. Do not flag that import. Flag a switch to the encoding/json/v2 package only when the diff does not account for the stricter defaults.
  2. Search the diff for _ = on a call that returns an error, and for if err != nil { return nil }. A discarded error is a high finding.
  3. Search for go func. Each goroutine needs a cancel path and something that waits for it. A missing ctx.Done() in a loop is a high finding.
  4. Check HTTP and SQL calls for a context and for parameters. String-built SQL is a high finding.
  5. Run go test for the touched package if the user asked. Otherwise write not run.

Output

Findings with severity, file, line, the ignored error or the leaked goroutine, and a fix. Include the Go version.

Read the full file on GitHub · 85 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. 17d ago First seen · 85 lines · 43 tokens per session scan A a5aa6757f7db

Subscribe to this mod's changes

go-code-review is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 6d ago), licensed MIT. It adds 43 tokens to every session and 954 once invoked, about $0.0002 per session on Opus 5.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-11-13.

Related

go-code-review compared with skills from other repositories

go-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-code-reviewbeel-collab/presets.devSkill36d agoMITA43Claude Code, Codex
golang-developmentsammcj/agentic-codingSkill1743d agoApache-2.0A14Claude Code, Codex
go-best-practicesmduongvandinh/ai-best-practices-skillsSkill189mo agononeA0Claude Code, Codex
swift-developmentsammcj/agentic-codingSkill1743d agoApache-2.0A13Claude Code, Codex
rust-engineersammcj/agentic-codingSkill1743d agoApache-2.0A39Claude Code, Codex
self-reviewsammcj/agentic-codingSkill1743d agoApache-2.0A24Claude Code
rust-developmentsammcj/agentic-codingSkill1743d agoApache-2.0A13Claude Code, Codex