Go Language Review

Go Language Review is a skill for Claude Code, Codex from wangke19/gemini-ai-helpers. It costs 22 tokens per session (587 once invoked), scanned A, a copy of go-code-review, Apache-2.0.

Go-specific guidance for reviewing Go source code, including testing habits, idiomatic patterns, and build checks.

In plain words
What is it for?
Use it during Go code reviews to check table-driven tests, subtests, parallel safety, error paths, file placement, and build quality.
Why use it?
It gives reviewers consistent rules for spotting unclear code, weak tests, race conditions, and Go-specific problems.

Skill for Claude CodeCodex

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

Good fit Use it during Go code reviews to check table-driven tests, subtests, parallel safety, error paths, file placement, and build quality.

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

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 Language Review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/lang-go"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/lang-go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 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 95% copy Near-identical to another mod 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.00022 $0.00587
Opus 5 $0.00011 $0.00293
Sonnet 5 $0.00004 $0.00117
Haiku 4.5 $0.00002 $0.00059

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

Security

Grade A, and why

Go Language 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 10d 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.

Origin

This is a copy

95% identical to go-code-review — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/code-review/skills/lang-go/SKILL.md · 42 lines

How it starts

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

Go Language Review

This skill provides Go-specific guidance for code quality reviews. It is loaded automatically by the pre-commit-review command when --language go is specified or when .go files are detected among the changed files.

When to Use This Skill

Use this skill when reviewing Go source code. Its sections are referenced during the unit test coverage, idiomatic code, and build verification review steps.

Test Conventions

  • Table-driven tests: Prefer table-driven tests for functions with multiple input/output combinations
  • Subtests: Use t.Run() for subtests to provide clear test case identification
  • Parallel tests: Use t.Parallel() at the top of test functions and subtests where tests are independent
  • Race detection: Tests must be compatible with the -race flag — avoid shared mutable state between parallel tests
  • File co-location: Test files must be co-located with source files using the _test.go suffix
  • Test helpers: Use t.Helper() in test helper functions so failure messages report the caller's line number
  • Behavior-focused: Test names should describe behavior, not implementation. Test both success and error paths

Idiomatic Go

Follow the conventions in Effective Go and the Go Code Review Comments wiki. Key reminders:

  • Formatting: All code must be formatted with gofmt. Unformatted code is a blocking issue
  • Naming: Use MixedCaps / mixedCaps. Avoid stuttering (http.Server not http.HTTPServer). Acronyms are all caps (URL, HTTP, ID)
  • Error handling: Check every error. Wrap with fmt.Errorf("context: %w", err) to preserve the chain for errors.Is() / errors.As()
  • Interfaces: Keep interfaces small. Accept interfaces, return concrete types
  • Early returns: Handle error cases first; keep the happy path at the lowest indentation level
  • Context: Pass context.Context as the first parameter to functions that perform I/O or may be long-running

Read the full file on GitHub · 42 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. 10d ago First seen · 42 lines · 22 tokens per session scan A a1e044e43b01

Subscribe to this mod's changes

Go Language Review is a skill published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 587 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to go-code-review, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

otel-go-reviewer

Review pull requests, diffs, patches, or design proposals for the open-telemetry/opentelemetry-go repository with a senior maintainer mindset. Use when changes in opentelemetry-go may affect OpenTelemetry specification compliance, repository contribution rules, changelog requirements, module versioning boundaries, API…

flc1125/skills · 83 tokens

opentelemetry-go-reviewer

High-bar review for changes in open-telemetry/opentelemetry-go with strict standards for correctness, compatibility, and performance.

flc1125/skills · 34 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

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

sapcc-audit

Full-repo SAP CC Go compliance audit against review standards.

notque/vexjoy-agent · 17 tokens

context-lifecycle

Review goroutines, timers, callbacks, actor handoffs, and async cleanup for context lifetime bugs. Use when code starts work that may outlive the caller, especially from RPC handlers, wallet startup, daemon startup, actors, or notification registrations.

lightninglabs/wavelength · 53 tokens