Showing 28 verified skills. 284 preview entries are hidden until we confirm a real source. Show preview skills · Why?
Find performance bottlenecks and memory leaks with fix suggestions
claude install community/performance-profilerPerformance analysis: instrument code for profiling, identify CPU hotspots, detect memory leaks, find N+1 queries, and produce optimization recommendations.
This is the actual SKILL.md file that powers this skill. Copy it to install.
---
name: performance-profiler
description: |
Trigger when the user asks to profile performance, find slow code, check
p95 latency, or optimize a hot path. Phrases: "profile", "slow", "p95",
"hot path", "optimize", "latency", "performance audit".
allowed-tools:
- Read
- Bash(node --prof *)
- Bash(node --inspect *)
- Grep
---
# Performance Profiler
Profile a Node web service or CLI and identify the hot path. Produce a
ranked list of fixes with estimated impact.
## Prerequisites
- Reproducible performance issue (slow route, slow CLI command)
- Node 18+ or modern runtime
- Load generator available (vegeta, k6, wrk) for server scenarios
## Steps
1. **Measure before changing anything.** Get p50, p95, p99 latency on the
hot path under realistic load. Without numbers, any "optimization" is
superstition.
2. **Profile the process.** For a Node server:
```bash
node --prof ./server.js
# run load
node --prof-process isolate-*.log > profile.txt
```
Or use clinic.js for flame graphs:
```bash
npx clinic flame -- node ./server.js
```
3. **Identify the top 5 hot functions.** For each, ask:
- Is it doing IO it does not need to? (N+1 queries, sync fs reads)
- Is it allocating more than it needs to? (large object spreads in loops)
- Is it running a polynomial-time operation on growing input?
4. **Apply the fix with the largest expected delta first.** Common wins:
- N+1 query -> single JOIN or batched load
- Sync fs or DNS inside request handler -> move to startup or cache
- JSON.parse/stringify in hot path -> avoid round-tripping if possible
- Recursive loops without memoization on growing input
5. **Measure again.** Confirm the delta matches the hypothesis. If not, the
diagnosis was wrong; back out and reprofile.
## Anti-patterns
- Optimizing without a profile
- Micro-optimizing a function that is 1% of runtime
- Adding caches that introduce correctness bugs under concurrency
- Measuring on a debug build
## Output
- Before/after p50, p95, p99 numbers
- Flame graph or profile text attached
- PR with the fix; commit message cites the measured delta
mkdir -p ~/.claude/skills/performance-profiler~/.claude/skills/performance-profiler/SKILL.mdResulting file structure:
~/.claude/
skills/
performance-profiler/
SKILL.md <-- skill definitionSkills are loaded automatically by Claude Code when you start a new session. The skill name and description in the frontmatter determine when Claude triggers it.
Recommended from shared domain, career, and tool overlap with Performance Profiler
Generate typed API clients and webhook handlers from specs
Both used by Software Engineer
Build RAG pipelines with embedding, retrieval, and cited generation
Both used by Software Engineer
Implement production auth with OAuth, JWT, RBAC, and MFA
Both used by Software Engineer
Generate interactive API docs with examples and authentication guides
Both used by Software Engineer
Implement production rate limiting with Redis support
Both used by Software Engineer
Generate API test suites with positive, negative, and edge cases
Both used by Software Engineer
Performance Profiler