query-optimizer
SKILL.md
Query Optimizer
Slow queries killing your app? Paste your SQL or Prisma code and get optimization suggestions. Index recommendations, query rewrites, N+1 detection. The stuff that takes hours to figure out manually.
One command. Zero config. Just works.
Quick Start
npx ai-query-optimize "SELECT * FROM users WHERE email LIKE '%@gmail.com'"
What It Does
- Analyzes SQL and Prisma queries for performance issues
- Suggests missing indexes with CREATE INDEX statements
- Rewrites queries to avoid common antipatterns
- Detects N+1 problems in ORM code
- Explains why changes improve performance