go-performance-best-practices
CommunityBoost Go performance with proven patterns.
System Documentation
What problem does it solve?
Go performance optimization guidelines for profiling, allocation, GC tuning, concurrency, PGO, and I/O. This skill should be used when writing, reviewing, or optimizing Go code for performance. Triggers on tasks involving slow services, high latency, high memory usage, memory leaks, goroutine leaks, GC pressure, CPU profiling, pprof analysis, allocation reduction, sync.Pool, mutex contention, HTTP client tuning, Profile-Guided Optimization, GOMEMLIMIT tuning, Go 1.24 features, Swiss Tables, or any Go performance investigation.
Core Features & Use Cases
- 41 rules across 8 categories, with real-world examples and patterns.
- Profiling, benchmarking, allocation reduction, and GC tuning for Go services and CLI tools.
- Example: identify hot paths in a latency-critical service and apply memory-safe optimizations like preallocation and buffered I/O.
Quick Start
Run a production-like benchmark, identify hot paths, and apply the guidelines to improve performance.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: go-performance-best-practices Download link: https://github.com/mcart13/dev-skills/archive/main.zip#go-performance-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.