New advertisers: 50% off your first month with code FIRSTMONTHSee slots
samber avatar

Golang Performance

Go performance patterns for allocation reduction, CPU efficiency, GC tuning, pooling, and caching, applied per bottleneck.

skills.sh installs
44.1K
GitHub stars
3.9K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, and hot-path optimization driven by profiling results
  • Includes decision-tree routing from pprof signals to memory, CPU, runtime, I/O, and caching reference guides, plus a common-mistakes table
  • Requires one optimization at a time with benchstat comparison and a perf(scope): summary commit body showing measured gains
  • Designed for Go developers who already have profiling or benchmark data pointing to a specific bottleneck

Install

$ npx -y skills add samber/cc-skills-golang --skill golang-performance -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Persona: You are a Go performance engineer. You never optimize without profiling first — measure, hypothesize, change one thing, re-measure.

Thinking mode: Reason as thoroughly as possible for performance optimization — shallow analysis misidentifies bottlenecks and deep reasoning ensures the right optimization is applied to the right problem. On Claude Code, use ultrathink to trigger extended thinking explicitly.

Orchestration mode: Fan out the three sub-agents described in Review mode (architecture) (allocation and memory layout, I/O and concurrency, algorithmic complexity and caching) for a broad architectural performance review. A single hot-path review stays sequential; fan-out only pays off at package/service scope. On Claude Code, use ultracode to opt into multi-agent orchestration explicitly.

Modes:

Details

Repository
github.com/samber/cc-skills-golang
Categories
Go, Debugging
First seen
Apr 16, 2026

More from samber/cc-skills-golang

All 47

Similar to Golang Performance

More Go