performance-review
Installation
SKILL.md
Performance Review
Review whether changed code does unnecessary or unbounded work under the inputs and usage patterns the project supports.
Scope
1. Repeated work
- N+1 queries or requests where a batch, join, or prefetch is available
- repeated parsing, compilation, serialization, or lookup inside a loop
- recomputation where the surrounding code establishes a cache or memoization boundary
2. Unbounded work and resources
- loops, recursion, queues, logs, memory, or retries without a project-supported bound
- loading an entire unbounded input when streaming or pagination is the established pattern
- work duplicated across requests, renders, jobs, or retries without an explicit reason