go-performance-review

go-performance-review is a skill for Claude Code from johnqtcg/awesome-skills. It costs 80 tokens per session (2,865 once invoked), scanned A, original, MIT.

A Go code review guide focused on speed and resource use. It examines allocations, string building, database queries, connection pools, locks, input/output, memory layout, and HTTP client settings.

In plain words
What is it for?
Use it to review performance-sensitive Go code, including loops, database or Redis access, string construction, synchronization, and client configuration.
Why use it?
It helps find code that uses more time, memory, connections, or other resources than necessary, especially on frequently used paths.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review performance-sensitive Go code, including loops, database or Redis access, string construction, synchronization, and client configuration.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/go-performance-review"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/go-performance-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,865 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00080 $0.02865
Opus 5 $0.00040 $0.01432
Sonnet 5 $0.00016 $0.00573
Haiku 4.5 $0.00008 $0.00286

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

Security

Grade A, and why

go-performance-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 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.

skills/go-performance-review/SKILL.md · 185 lines

How it starts

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

Go Performance Review

Purpose

Identify performance issues and resource inefficiency in Go code. This skill exists because performance findings are almost all Medium severity and get systematically crowded out when mixed with High-severity Security/Concurrency findings.

Important distinction: lock contention is performance (here); race condition is concurrency (go-concurrency-review).

This skill does NOT cover: security, concurrency correctness, code style, test quality, error handling, or business logic — those belong to sibling vertical skills.

When To Use

  • Code contains make([]T, ...) or make(map[K]V, ...)
  • Code builds strings in loops
  • Code queries DB/Redis inside loops
  • Code configures connection pools or HTTP clients
  • Code runs on hot paths (per-request, high-frequency)

When NOT To Use

  • Security vulnerabilities → go-security-review
  • Race conditions, goroutine leaks → go-concurrency-review
  • Code style/lint → go-quality-review
  • Error handling → go-error-review

Mandatory Gates

1) Go Version Gate

Read go.mod. Key: strings.Clone (1.20+), slices.Clone (1.21+).

2) Anti-Example Suppression Gate

MUST quote specific evidence. Category match alone insufficient.

Embedded anti-examples:

  • "Should pre-allocate slice" — when slice is small (<16 elements) or size is truly unknown at creation time. Must cite evidence the slice is large and size is known.
  • "Should use sync.Pool" — when object is small and allocated infrequently (cold path, startup, config).
  • "Struct fields should be reordered" — when struct has <4 fields or alignment savings <8 bytes.
  • "Should use strings.Clone" — when both substring and parent are short-lived locals in same GC scope.
  • "Add Count-First guard" — when the business domain guarantees the query always returns rows (e.g., seeded reference data, system-level lookups). Must cite evidence that total==0 is impossible in practice.
  • Hot-path rule: Do NOT flag performance issues in cold-path code (startup, one-time init, config loading, test setup, CLI argument parsing). Must cite evidence of hot-path execution: "called per HTTP request", "inside for loop over N items", "in handler serving N QPS".

Read the full file on GitHub · 185 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 185 lines · 80 tokens per session scan A 1592ed33480e

Subscribe to this mod's changes

go-performance-review is a skill published in the GitHub repository johnqtcg/awesome-skills (30 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 2,865 once invoked, about $0.0004 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.