home/categories/sql-databases/jeremylongshore-claude-code-plugins-plus-skills-backups-skill-structure-cleanup-20251108-073936-plugins-database-sql-query-optimizer-skills-sql-query-optimizer-skill-md
sql-databasesdatabases

optimizing-sql-queries

This skill analyzes and optimizes SQL queries for improved performance. It identifies potential bottlenecks, suggests optimal indexes, and proposes query rewrites. Use this when the user mentions "optimize SQL query", "improve SQL performance", "SQL query optimization", "slow SQL query", or asks for help with "SQL indexing". The skill helps enhance database efficiency by analyzing query structure, recommending indexes, and reviewing execution plans.

jeremylongshore
maintainer
jeremylongshore
Updated 1/18/2026
Stars
1020
Forks
131
quick start

Installation and usage

This skill analyzes and optimizes SQL queries for improved performance. It identifies potential bottlenecks, suggests optimal indexes, and proposes query rewrites. Use this when the user mentions "optimize SQL query", "improve SQL performance", "SQL query optimization", "slow SQL query", or asks for help with "SQL indexing". The skill helps enhance database efficiency by analyzing query structure, recommending indexes, and reviewing execution plans.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use optimizing-sql-queries