
Golang Performance
A methodical performance optimization skill that enforces the "profile first, optimize second" discipline. It gives you a decision tree from pprof signals to concrete fixes: too many allocations? Memory patterns. CPU hot loop? Inlining and cache locality. The skill splits into architecture review mode (parallel sub-agents for memory, I/O, and algorithmic concerns) and optimize mode (iterative benchstat cycle, one change at a time). Includes deep-dive references for allocation reduction, GC tuning, struct alignment, and HTTP transport config. Honest take: the "no unsafe without 10% proof" rule and the mandate to paste benchstat output in commit messages will save you from cargo-cult optimizations. Requires go, benchstat, and works best when you already have profiling data pointing at a real bottleneck.
- skills.sh installs
- 43.6K
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-performance --agent claude-codeInstalls into .claude/skills of the current project.
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:
Sponsors
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Frontend Development, Git & Pull Requests, Code Review & Quality, Debugging, Automation & Workflows, Go
- First seen
- Apr 16, 2026
More from samber/cc-skills-golang
All 47- Golang Concurrency43.6K
- Golang Context42.7K
- Golang Naming42.5K
- Golang Database42.5K
- Golang Safety42.2K
- Golang Project Layout42.1K
- Golang Documentation42K
- Golang Modernize42K
- Golang Lint41.9K
- Golang Data Structures41.8K
- Golang Troubleshooting41.6K
- Golang Observability41.5K
- Golang Dependency Management41.4K
- Golang Structs Interfaces41.3K
- Golang Cli41.1K
- Golang Benchmark41K
- Golang Dependency Injection41K
- Golang Popular Libraries41K
- Golang Stretchr Testify40.9K
- Golang Continuous Integration40.9K
- Golang Grpc40.7K
- Golang Samber Lo40K
- Golang Stay Updated40K
- Golang Samber Do39.8K