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

跳到安装

来源信息

仓库
tools-only/X-Skills
最近来源活动
2026年2月9日 07:16
检测到的 SKILL.md 语言
英语
星标
7
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。