Optimize database queries
Help me optimize queries: 1. Analyze slow queries 2. Add proper indexes 3. Use EXPLAIN plans 4. Optimize joins 5. Reduce round trips
Create reviewable up/down database migrations with your ORM's own tool or the bundled diff.ts (PostgreSQL/SQLite), with data-loss and blocking-change warnings.
Optimize slow SQL from its execution plan: EXPLAIN-driven index and rewrite suggestions that return identical rows, re-measured before you ship.
Design NoSQL database schemas
AI Agent Skills are reusable workflow packages that extend your AI coding assistant with multi-step capabilities. Install Query Optimization by following these steps.
SKILL.md inside, in the location documented by your client. Do not assume every AI application reads the same directory.Requires an Agent Skills-compatible client; supported locations and activation vary by version. Read the SKILL.md setup guide. MCP connects tools and data and does not, by itself, install a skill.
Create reviewable up/down database migrations with your ORM's own tool or the bundled diff.ts (PostgreSQL/SQLite), with data-loss and blocking-change warnings.
Optimize slow SQL from its execution plan: EXPLAIN-driven index and rewrite suggestions that return identical rows, re-measured before you ship.
Design NoSQL database schemas