plan-analysis
Installation
SKILL.md
Execution Plan Analysis
Use this skill when the user wants to understand or analyze a SQL Server execution plan. This provides plan summaries, operator cost rankings, and bottleneck identification — all without executing any queries.
When to Use
- User says "analyze this plan", "explain this execution plan", "find bottlenecks"
- User asks to explain why the supplied plan is slow, limited to plan analysis
- User says "what are the most expensive operators?", "top costly operators"
- User says "summarize this plan", "give me an overview"
- User provides a query and wants to see its estimated plan
When NOT to Use
- Generic query performance requests, including "why is this query slow?" with a supplied plan, belong to
improve-query-performance; use this skill when plan analysis itself is requested or delegated. - User wants server-wide diagnostics → use the
resource-usage-*orhealth-audit-*skills - User asks only about plan metadata (warnings, indexes used, row counts, tables accessed) → read the plan XML directly without running the ranking or bottleneck procedures