Golang performance optimization patterns and methodology - if X bottleneck, then apply Y. Covers allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, and hot-path optimization. Use when profiling or benchmarks have identified a bottleneck and you need the right optimization pattern to fix it.
安装
npx skills add samber/cc-skills-golang --skill golang-performancenpx skills add samber/cc-skills-golang --skill golang-performance -a claude-code -gnpx skills add samber/cc-skills-golang --skill golang-performance -a codex -ggemini skills install https://github.com/samber/cc-skills-golang.git --path skills/golang-performancegh skill install samber/cc-skills-golang golang-performancegit clone --depth 1 https://github.com/samber/cc-skills-golang /tmp/samber__cc-skills-golang
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/samber__cc-skills-golang/skills/golang-performance ~/.claude/skills/golang-performance # Claude Code
cp -R /tmp/samber__cc-skills-golang/skills/golang-performance ~/.agents/skills/golang-performance # Codex, Cursor, Gemini CLI, Copilot, OpenCode