go-review

go-review is a skill for Claude Code, Codex from Luohaothu/everything-codex. It costs 29 tokens per session (462 once invoked), scanned A, original, MIT.

A review workflow for Go changes that examines modified files for style, security, error handling, concurrency, and performance problems. It reports recommendations without changing files.

In plain words
What is it for?
Use it to review Go diffs with checks from go vet and staticcheck, plus a focused manual checklist.
Why use it?
It helps catch issues such as ignored errors, race conditions, command injection, path traversal, and insecure TLS settings before code is merged.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review Go diffs with checks from go vet and staticcheck, plus a focused manual checklist.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/luohaothu/everything-codex/go-review/github.svg)](https://agentmods.dev/skills/luohaothu/everything-codex/go-review)
Your own site
<a href="https://agentmods.dev/skills/luohaothu/everything-codex/go-review"><img src="https://agentmods.dev/badge/skills/luohaothu/everything-codex/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/luohaothu/everything-codex/go-review"><img src="https://agentmods.dev/badge/skills/luohaothu/everything-codex/go-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 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.00029 $0.00462
Opus 5.5 $0.00012 $0.00185
Sonnet 5.5 $0.00006 $0.00092
Haiku 4.5 $0.00003 $0.00046

Measured 1mo ago against content hash 59b6007c9e64, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

skills/go-review/SKILL.md · 69 lines

What it actually says

Go Code Reviewer Mode

BEHAVIORAL CONSTRAINTS:

  • Do NOT modify any files -- analysis and recommendations only
  • Run go vet and staticcheck as part of review
  • Focus on modified .go files (git diff)

Your Role

You are a senior Go code reviewer ensuring idiomatic Go and best practices.

Review Process

  1. Run git diff -- '*.go' to see changes
  2. Run go vet ./... and staticcheck ./...
  3. Review modified files
  4. Report issues by severity

Review Checklist

Security (CRITICAL)

  • SQL injection (string concat in queries)
  • Command injection (unvalidated input in os/exec)
  • Path traversal (user-controlled file paths)
  • Race conditions (shared state without sync)
  • Hardcoded secrets
  • Insecure TLS (InsecureSkipVerify: true)

Error Handling (CRITICAL)

  • Ignored errors (using _)
  • Missing error wrapping (fmt.Errorf("context: %w", err))
  • Panic for recoverable errors
  • Not using errors.Is/errors.As

Concurrency (HIGH)

  • Goroutine leaks (no cancellation)
  • Race conditions (run go build -race ./...)
  • Missing defer mu.Unlock()
  • Context not propagated

Code Quality (HIGH)

  • Large functions (>50 lines)
  • Deep nesting (>4 levels)
  • Interface pollution
  • Package-level mutable state
  • Non-idiomatic patterns (missing early returns)

Performance (MEDIUM)

  • Inefficient string building (use strings.Builder)
  • Slice pre-allocation missing
  • N+1 database queries

Best Practices (MEDIUM)

  • Accept interfaces, return structs
  • Context as first parameter
  • Table-driven tests
  • Lowercase error messages, no punctuation

Approval Criteria

  • APPROVE: No CRITICAL or HIGH issues
  • WARNING: MEDIUM issues only
  • BLOCK: CRITICAL or HIGH issues found
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. 1mo ago First seen · 69 lines · 29 tokens per session scan A 59b6007c9e64

Subscribe to this mod's changes

go-review is a skill published in the GitHub repository Luohaothu/everything-codex (25 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 462 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

pr-to-go-linter

Generate a new pkg/linters analyzer from a merged or open PR pattern.

github/gh-aw · 22 tokens

golang-refactoring

Golang refactoring — safe, at-scale restructuring of existing Go code: a coverage-adaptive safety net, behavior-preserving transforms (gopls Rename/Extract, gofmt -r, gopatch), the Fowler catalog mapped to Go, breaking import cycles, and small stacked PRs. Apply when a function or type has grown too large, a code…

samber/cc-skills-golang · 220 tokens

design-review

Deep design review of Go codebase — naming, structure, consistency, interfaces, error handling. Scores each dimension and provides actionable fixes.

dimetron/pi-go · 30 tokens

agents-md

Generate AGENTS.md files for Go, Rust, TypeScript, and Java projects. Use this skill whenever the user asks to create, scaffold, bootstrap, update, or review an AGENTS.md (or agent-instructions, CLAUDE.md, repo guide for agents) file in a codebase. Also trigger when the user says "add AGENTS.md", "make this repo…

dimetron/pi-go · 138 tokens

ring:verifying-code

Verifying a Go project: runs every quality check (lint, vet, imports, format, docs, unit, integration, E2E) and returns a single MERGEREADY or NEEDSFIX verdict. Report-only: never fixes anything. Use for a quick pre-merge or pre-PR check outside a full dev-cycle. Skip when not a Go project, when you want a single…

LerianStudio/ring · 101 tokens

go-concurrency-safety

L1 supplement - audits Go-specific concurrency hazards in node client code: map iteration non-determinism, goroutine leaks, mutex ordering, panic boundaries, context cancellation.

PlamenTSV/plamen · 40 tokens