What problem does it solve? AI-generated code optimizes for initial functionality but often contains performance defects that only emerge at scale: N+1 queries in loops, over-fetching unused fields, missing database indexes, and absent caching strategies. This Skill identifies these failures in static code review so they don't reach production. ## Core Features & Use Cases - N+1 Query Detection: Find loops that repeat database queries per row and sequential awaits that should be parallelized or batched. - Over-Fetch Auditing: Identify SELECT * statements, unused fields, missing pagination, and redundant loads in list and dashboard views. - Index & Caching Analysis: Recommend specific index definitions for hot queries and propose caching only with invalidation rules attached. - Use Case: Before releasing a new user dashboard, audit the recent changes to catch the pagination query running per user row and the missing index on the frequently-filtered status column. ## Quick Start Ask your agent to audit performance issues in the recent code changes by specifying the scope: run a static performance audit on the last three commits, the src/views directory, or just the uncommitted changes.