improve-query-performance

Installation
SKILL.md

Improve Query Performance

Use this skill when the user wants to optimize, tune, or improve a SQL query's performance. Start a bounded first look for generic requests. Follow an explicit request for plans, rewrites, indexes or hints directly; full analysis requires that broader scope.

When to Use — THIS IS THE DEFAULT SKILL FOR QUERY PERFORMANCE

  • User says "optimize this query", "tune this query", "make this faster"
  • User says "improve query performance", "this query is slow"
  • User says "improve this query", "help me with this query", "help me improve this"
  • User says "reduce IO/CPU/duration for this query"
  • User wants a comprehensive analysis combining hints, rewrites, and indexes
  • User says "why is my query slow", "why is this slow"
  • User provides a query or execution plan and asks for performance help
  • Any ambiguous or generic performance request — when in doubt, use this skill

When NOT to Use

  • User only wants plan metadata (warnings, indexes used, row counts) — read the plan XML directly
  • User wants server-level diagnostics (not query-specific) → use resource-usage-* or health-audit-* skills
Installs
33
GitHub Stars
66
First Seen
11 days ago