From epic
Reviews code for performance issues: N+1 queries, missing indexes, unbounded memory, inefficient rendering, and blocking async operations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/epic:perfThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. Identify performance-sensitive code paths from the diff (loops, queries, rendering, batch ops)
See references/performance.md for the full checklist.
| Excuse | Rebuttal | What to do instead |
|---|---|---|
| "Premature optimization is the root of all evil" | Knuth said "about 97% of the time" — the other 3% matters. N+1 queries are never premature. | Check for N+1 queries and missing indexes before merging. |
| "It works fine on my machine" | Your machine is not production. Profile under realistic conditions. | Run the perf checklist against realistic data volumes. |
| "We can optimize later" | Performance debt is invisible until it's catastrophic. Measure now. | Add a benchmark or load test for the critical path today. |
Before claiming performance review is complete, show ALL applicable:
await or stream usage (no sync fs/net)"Looks fine" is not a review. Show the query or the code path.
npx claudepluginhub epicsagas/epic-harness --plugin epic-harnessAnalyzes code for performance bottlenecks including hot paths, N+1 queries, memory usage, loops, I/O, caching strategies, concurrency, and resource efficiency.
Identifies and fixes performance bottlenecks in code, databases, and APIs. Measures before and after to prove improvements.
Diagnoses frontend and backend performance bottlenecks including bundle size, N+1 queries, memory leaks, and Core Web Vitals. Prioritizes fixes by impact.