perf-profile
Profile and optimize performance of a slow endpoint or component. Use when p99 exceeds 200ms or when asked to optimize.
Files3
View on GitHubSKILL.md.claude/skills/perf-profile/SKILL.md
GitHubPerformance Profiling
Profile and optimize: $ARGUMENTS
Steps
- Measure baseline (p50/p95/p99) using Grafana or k6
- Read profiling-guide.md
- Identify bottleneck: DB queries, computation, I/O, or memory
- Apply appropriate optimization from patterns.md
- Measure again and compare
- Document findings in a comment