
Description
Go Performance is an agent skill for optimising Go code and investigating slow performance. It applies to the hot path only, and it warns against premature optimisation, so the agent should focus on the code that really matters. The skill's examples include preferring strconv over fmt for converting primitives to and from strings, which the page says is faster. It also covers string conversion, concatenation and the boundaries between byte slices and strings. The skill routes the agent to reference notes and scripts. A benchmark script compares results, saves baselines and produces JSON benchmark metadata. A reference note explains how to write benchmarks, how to use benchstat to compare them, and how to profile with pprof. Another note covers string optimisation. The skill suits Go developers who have a slow service or a function that needs tuning and want a disciplined way to measure before and after. It is most useful when the agent is asked to explain a profile or compare two benchmark runs. It is part of the golang-skills collection by cxuu and installs with the skills CLI. The listing shows it as free.…
Highlights
- Focus on the hot path, not premature tuning
- Benchmark comparison and saved baselines
- Profiling with pprof and benchstat
- String conversion and concatenation guidance
Ratings & Reviews
No ratings yet
Be the first to rate go-performance.
People also visit
go-performance FAQ
What does the Go Performance skill do?
Guides the optimisation of Go code and the investigation of slow code, with benchmarks and profiling.
Should I optimise every function?
No. The skill says performance patterns apply to the hot path only and warns against premature optimisation.
How do I install it?
Run: npx skills add https://github.com/cxuu/golang-skills --skill go-performance
Is it free?
Yes. The listing shows the skill as free.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best go-performance alternatives?
Popular alternatives to go-performance include go-code-review, modern-go-guidelines and use-modern-go. See all go-performance alternatives















