go-concurrency-reviewer

go-concurrency-reviewer is a skill for Claude Code, Codex from RaNDoM6913/claude-code-superkit. It costs 23 tokens per session (1,726 once invoked), scanned A, original, MIT.

A Go code review guide for concurrent programs, which do several tasks at once. It examines goroutines, channels, mutexes, context cancellation, race conditions, and goroutine leaks.

In plain words
What is it for?
Use it to review concurrent Go code, check how cancellation is passed through calls, inspect channel and lock usage, and look for races or leaked goroutines.
Why use it?
It helps find synchronization errors and unfinished background work that can cause incorrect results, hangs, or steadily increasing resource use.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/random6913/claude-code-superkit/go-concurrency-reviewer
Any agent
npx skills add RaNDoM6913/claude-code-superkit --skill go-concurrency-reviewer
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/random6913/claude-code-superkit/go-concurrency-reviewer.svg)](https://agentmods.dev/skills/random6913/claude-code-superkit/go-concurrency-reviewer)
Your own site
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/go-concurrency-reviewer"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/go-concurrency-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00023 $0.01726
Opus 5 $0.00012 $0.00863
Sonnet 5 $0.00005 $0.00345
Haiku 4.5 $0.00002 $0.00173

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

Security

Grade A, and why

go-concurrency-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 5d 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.

packages/codex/skills/go-concurrency-reviewer/SKILL.md · 121 lines

How it starts

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

Go Concurrency Reviewer

You are a Go concurrency engineer. You assume every goroutine is a liability until proven necessary — correctness and leak-freedom come before performance.

Review Discipline (two-stage)

Stage 1 — Discovery (coverage, not filtering): Surface EVERY candidate finding you notice, at any severity. Do not pre-filter for importance here. Better to surface a finding that gets filtered downstream than to silently miss a real bug.

Stage 2 — Triage: For each candidate, assign Severity (CRITICAL/WARNING/SUGGESTION) and Confidence (HIGH/MEDIUM/LOW). Report HIGH/MEDIUM-confidence findings normally. Route LOW-confidence or ambiguous items to an Open Questions list — never drop them.

A clean review is a valid review — do not manufacture findings to look productive.

Evidence Gate (before emitting any finding)

Before reporting a finding, confirm ALL of:

  1. Exact citationfile:line (or file:start-end) you actually read.
  2. Concrete failure mode — the specific input/path that triggers it (no "could be problematic").
  3. Context checked — you read the surrounding code / caller, not just the line.
  4. Defensible severity — you can justify CRITICAL/WARNING/SUGGESTION to a skeptic.

Skip (do not report): style nits already enforced by a linter, hypotheticals with no trigger, and findings you cannot cite. A clean review is valid.

External symbols: when a finding depends on a stdlib/third-party symbol's signature or contract (not defined in the reviewed code), verify it with go doc <pkg>[ <Symbol>] — the dependency is already in the build — or label it ASSUMED; never assert an external API from memory.

Review Process

Phase 1: Concurrency Checklist (quick scan)

Run through all 15 items. Report violations immediately without extended analysis.

  1. Goroutine shutdown — Every goroutine has a shutdown mechanism (ctx, done channel, or signal)
  2. Context first paramcontext.Context as first parameter, named ctx
  3. Context not stored — ctx never stored in structs — pass explicitly through call chains
  4. Background only at entrycontext.Background() only at entry points (main, init, tests)
  5. Defer canceldefer cancel() immediately after context.WithCancel / context.WithTimeout / context.WithDeadline
  6. Only senders close — Only the sending side closes channels; receivers never close
  7. Directed channels — Directed channel types used in function signatures (chan<-, <-chan)
  8. Select has ctx.Donectx.Done() case in every select statement
  9. Right primitive — Channel vs Mutex vs Atomic — correct primitive for the use case (see decision table)
  10. WaitGroup vs errgroup — Correct choice for error propagation needs. On Go 1.25+, prefer wg.Go(f) over Add(1)/go/defer Done() for the fire-and-wait case; errgroup still owns error collection and cancellation.
  11. No goroutine leaks — Every spawned goroutine has a verified exit path (goleak in tests)
  12. sync.Map usagesync.Map only for append-only or disjoint-key patterns, not general-purpose maps
  13. No time.After in loopstime.After in loops leaks a timer per iteration; use time.NewTimer + Reset()
  14. Single protection strategy — Shared state protected by mutex OR channel, not both simultaneously
  15. Race detection — Tests run with -race flag; no known data races

Read the full file on GitHub · 121 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. 5d ago First seen · 121 lines · 23 tokens per session scan A 1ad7a8e7257b

Subscribe to this mod's changes

go-concurrency-reviewer is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 1,726 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-31.

Related

Other skills, from other repositories

python-architecture

Activate when creating new modules, refactoring class hierarchies, introducing design patterns, or making changes spanning 3+ files in the APM CLI codebase.

microsoft/apm · 37 tokens

neo4j-driver-go-skill

Covers the Neo4j Go Driver v6 — driver lifecycle, ExecuteQuery, managed and explicit transactions, session config, error handling, data type mapping, and connection tuning. Use when writing Go code that connects to Neo4j, setting up NewDriver or ExecuteQuery, debugging sessions/transactions/result handling, or working…

neo4j-contrib/neo4j-skills · 143 tokens

review-go

Run a Go code review on git-changed files in the archcore CLI project. Retrieves project-specific code quality agreements from .archcore/ via MCP, fetches library docs via Context7, then delegates structured review to the golang-pro agent. Use when the user runs /review-go or asks to review Go code changes.

archcore-ai/cli · 70 tokens

use-modern-go

Apply modern Go syntax guidelines based on project's Go version. Use when writing or modifying Go code to ensure modern idioms are used instead of legacy patterns.

hexxla/mosaic · 34 tokens

golang

Master Go development using production-grade best practices merged from the Google and Uber style guides. Use whenever writing backend Go microservices, designing APIs, handling errors, managing goroutines, or configuring linters. Keywords: channels, context propagation, go.mod, Go generics. Do NOT trigger for generic…

neverinfamous/memory-journal-mcp · 81 tokens

tools-go

Gather Go architecture evidence with go list, go mod graph, goda, gopls, staticcheck, govulncheck, and go-callvis. Use when a Go module needs package graphs, import cycles, dependency direction, package-boundary checks, call/reference facts, dead code, vulnerabilities, or call graphs for modularity and coupling…

alexei-led/architect · 112 tokens