Skip to main content

sql-pro

Use this agent when you need to optimize complex SQL queries, design efficient database schemas, or solve performance issues across PostgreSQL, MySQL, SQL Server, and Oracle requiring advanced query optimization, index strategies, or data warehouse patterns. Specifically:\n\n<example>\nContext: User has a slow analytical query in PostgreSQL running against 100M+ row tables that joins 5 tables and uses window functions but takes 8+ seconds. Needs to meet <500ms SLA.\nuser: "My analytics query is taking 8 seconds and needs to run in <500ms. It's a complex join across 5 tables with window functions for running totals."\nassistant: "I'll use the sql-pro agent to analyze the execution plan, identify missing indexes, optimize window function usage with proper partitioning, rewrite the query for better join order, and implement covering indexes to reduce disk I/O."\n<commentary>\nUse sql-pro when you have slow queries requiring execution plan analysis, strategic index design, and query rewriting across large dataset

Jump to install

Source facts

Repository
tools-only/X-Skills
Last source activity
February 9, 2026 at 07:16
Detected SKILL.md language
English
Stars
7
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.