Skip to content
Back to skills

Code Quality Performance Profiling Go

ASecurity

Measure hot paths with real data shapes, optimize measured bottlenecks, verify wins.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsgobashgitperformance

Works with

  • cli

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add aniruddhaadak80/skills --skill code-quality-performance-profiling-go --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Quality Performance Profiling Go?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Quality Performance Profiling Go
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aniruddhaadak80-code-quality-performance-profiling-go/badge)](https://www.skillsdirectory.com/skills/aniruddhaadak80-code-quality-performance-profiling-go)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-quality-performance-profiling-go
description: "Measure hot paths with real data shapes, optimize measured bottlenecks, verify wins."
---
# Profile before optimizing (Go)

> Measure hot paths with real data shapes, optimize measured bottlenecks, verify wins.

**Track:** 🧰 Engineering Essentials · **Domain:** Code Quality · **Level:** intermediate · **~35 min**

**Who this is for:** All Software Engineers

## When to Use This Skill

Measure hot paths with real data shapes, optimize measured bottlenecks, verify wins.
Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.

## Steps

1. Define target metric: p95 latency? memory ceiling? throughput?
2. Build benchmark using PRODUCTION-shaped data volumes
3. Profile CPU + memory + allocations; identify top three offenders
4. Optimize one offender at a time; re-measure after each change
5. Check second-order effects: cache misses, GC pressure, lock contention
6. Record before/after numbers in the PR for future archaeologists
7. Run pprof profiles; check goroutine leaks with goleak
8. Enforce vet/lint gates; keep error wrapping with %w intact

## Common Pitfalls

- Optimizing intuition while profile shows I/O waits
- Micro-benchmarks on toy data lying about production

## Commands

**Install with skills CLI**
```bash
npx skills add aniruddhaadak80/skills --skill code-quality-performance-profiling-go
```

**Install globally**
```bash
npx skills add aniruddhaadak80/skills --skill code-quality-performance-profiling-go -g
```

---

Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) · Browse all at https://skills.sh/aniruddhaadak80/skills

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…