go-reviewer

go-reviewer is an agent for Claude Code from majiayu000/vibeguard. It costs 25 tokens per session (361 once invoked), scanned A, original, MIT.

A code-review agent focused on Go, the programming language. It checks error handling, concurrent code, interfaces, performance patterns, and security-related issues.

In plain words
What is it for?
It is for reviewing Go code and checking it with `go vet`, `golangci-lint`, and race-enabled tests.
Why use it?
It helps find Go-specific problems that a general code review may miss, such as leaking goroutines or mishandling errors.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It is for reviewing Go code and checking it with go vet, golangci-lint, and race-enabled tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/majiayu000/vibeguard/go-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.

Clone the repo
git clone --depth 1 https://github.com/majiayu000/vibeguard

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/majiayu000/vibeguard/go-reviewer"><img src="https://agentmods.dev/badge/agents/majiayu000/vibeguard/go-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 361 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.00025 $0.00361
Opus 5 $0.00013 $0.00180
Sonnet 5 $0.00005 $0.00072
Haiku 4.5 $0.00003 $0.00036

Measured 11d ago against content hash b562d5c37747, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 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.

agents/go-reviewer.md · 49 lines

What it actually says

Go Reviewer Agent

Responsibilities

Review Go code to focus on Go-specific quality and security issues.

Review Checklist

Error handling

  • All error return values checked (GO-01)
  • error wrapping using fmt.Errorf("...: %w", err)
  • Custom error type implements Error() interface
  • Do not use panic for general error handling

Concurrency safety

  • goroutine has context cancel or done channel (GO-02)
  • Shared variables have mutex or channel protection (GO-03)
  • WaitGroup is used correctly (Add outside goroutine)
  • channel closed properly (only closed by sender)

Interface design

  • The interface is defined on the consumer side (GO-04)
  • Number of interface methods ≤ 5 (large interface split)
  • Returns a specific type and accepts interface parameters

Performance

  • append within loop pre-allocates cap (GO-06)
  • String concatenation using strings.Builder (GO-07)
  • defer not in thermal loop

Verification command

go vet ./... && golangci-lint run && go test -race ./...

VibeGuard Constraints

  • The error wrapping pattern is unified and the same pattern is not repeated in multiple places (GO-05)
  • Do not create interfaces for logic that is used only once
  • Do not add unnecessary goroutines
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 · 49 lines · 25 tokens per session scan A b562d5c37747

Subscribe to this mod's changes

go-reviewer is an agent published in the GitHub repository majiayu000/vibeguard (41 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 361 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-30.

Related

Other agents, from other repositories

ring:backend-go

Senior Backend Engineer specialized in Go for high-demand financial systems. Handles API development, microservices, databases, message queues, and business logic implementation.

LerianStudio/ring · 34 tokens

go-concurrency-reviewer

Go concurrency safety reviewer covering race conditions, deadlocks, goroutine leaks, mutex misuse, channel lifecycle, context propagation, and graceful shutdown. Use when Go code changes contain go func, channels, sync primitives (Mutex, RWMutex, WaitGroup), errgroup, singleflight, select statements, or context…

johnqtcg/awesome-skills · 85 tokens

go-error-reviewer

Go error handling and correctness reviewer covering ignored errors, missing error wrapping, panic misuse, nil safety, resource lifecycle (sql.Rows, resp.Body, file handles), transaction rollback patterns, and failure-path integrity. Use when Go code changes contain error returns, panic calls, sql.Rows, tx.Begin, HTTP…

johnqtcg/awesome-skills · 97 tokens

go-logic-reviewer

Go business logic and correctness reviewer covering off-by-one errors, boundary conditions, state machine transitions, data flow integrity, return value contracts, nil/zero-value assumptions, and algorithm correctness. Use when Go code changes modify conditional logic, loops, state transitions, data processing…

johnqtcg/awesome-skills · 81 tokens

go-quality-reviewer

Go code quality and style reviewer covering function length, nesting depth, naming conventions, mutable globals, interface design, receiver consistency, modern Go idioms (slog, generics, typed atomics), and golangci-lint integration. Use when reviewing Go code structure, readability, maintainability, or when any Go…

johnqtcg/awesome-skills · 85 tokens

go-reviewer

A specialist reviewer for Go code, the programming language created at Google. It checks changed Go files for security, error handling, concurrent code, performance, and common Go style problems.

xu-xiang/everything-claude-code-zh · 54 tokens