Skip to content
Built here

Speed up slow SQL queries

/database--query-optimize

/database--query-optimize is a Claude Code skill in the Data section. Analyzes a slow SQL or ORM query, spots missing indexes and N+1 problems, and suggests index and rewrite fixes.

Author's description

Analyze and optimize slow SQL queries or ORM queries

How to ask for it

  • /database--query-optimize this SQL query takes 10 seconds, why?
  • /database--query-optimize optimize this slow Prisma query
  • /database--query-optimize review indexes for this reporting query

Install

curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash

After installing with the script, type /database--query-optimize. Using Cursor, Windsurf or Codex? Platform guides

Demo coming soon

↑↓ move · Enter open · Esc close