Performance Profiler
Identifies performance bottlenecks and proposes targeted optimizations with measurable impact. Use when code, queries, or endpoints are running slower than expected. Profiling, algorithmic complexity, I/O bottlenecks.
Focuses on the changes that matter most, not micro-optimizations.
ORM Query Advisor
Reads ORM code and identifies the SQL it generates, spotting N+1 queries, over-fetching, and missing eager loads. Use when reviewing ORM queries for performance or when endpoints are unexpectedly slow. Prisma, Drizzle, TypeORM, SQLAlchemy, ActiveRecord.
Translates ORM code into the SQL it produces, spots the problems, and fixes them in ORM terms — without dropping to raw queries unless necessary.
Database Index Advisor
Analyzes queries, schemas, and access patterns to recommend indexes that eliminate full table scans. Use when queries are slow, designing a new schema, or reviewing EXPLAIN plans. Indexing, query optimization, N+1 detection, ESR rule.
Recommends indexes based on actual query patterns and data distribution.
Caching Strategy Designer
Designs multi-layer caching architectures with explicit invalidation strategies. Use when adding caching layers, diagnosing stale data bugs, or choosing between in-memory, Redis, and CDN caching. Cache invalidation, TTL design, thundering herd, write-through.
Every caching decision starts with "what happens when this data changes?" If you cannot answer that clearly, do not cache it.