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.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub epicsagas/epic-harness --plugin epic-harness