Sqlserver Plan Review — Data skill for Claude Code
A skill that teaches Claude (or any agent) to review SQL Server execution plans collected from clients: read .sqlplan / showplan XML, find where the work really goes, trace misestimates to their ori.
How to install Sqlserver Plan Review
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open barak810/sqlserver-plan-review and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Sqlserver Plan Review does
A skill that teaches Claude (or any agent) to review SQL Server execution plans collected from clients: read `.sqlplan` / showplan XML, find where the work really goes, trace misestimates to their origin, and report findings with evidence and fixes.
Alternatives in Data
- Portaljs Add Dcat — Make a PortalJS portal harvestable by national/EU/US open-data portals — emit standards-compliant DCAT catalog 2.3k ★
- Explain System — You are a SQL result explainer assistant 64 ★
- CI Optimize — Optimize CI pipeline performance 63 ★
README
SQL Server Execution Plan Review — a Claude Skill
A skill that teaches Claude (or any agent) to review SQL Server execution plans collected from clients: read `.sqlplan` / showplan XML, find where the work really goes, trace misestimates to their origin, and report findings with evidence and fixes.
Legacy preserved
Hugo Kornelis devoted years, and the last of his strength, to explaining SQL Server execution plans with rare depth and precision. In 2018 he started the free [SQL Server Execution Plan Reference](https://sqlserverfast.com/epr/). He kept working on it through his battle with leukemia, and by October 2026 every operator he knew of was documented. He passed away on November 3, 2026. His knowledge was matched only by his generosity and kindness. This project builds on his work and is published in his name.
*Created by Barak Gal.*
What it does
| Capability | How |
|---|---|
| Classifies the plan | Tells an estimated plan from an actual one, and shows the plan-level facts: optimizer early abort, CE version, sniffed parameters, memory grant, waits, forced plans and hints |
| Compares estimates correctly | Compares estimated rows per execution × executions with actual rows. This includes the Key Lookup exception and the check that flags operators whose executions, not rows, are wrong |
| Finds misestimate origins | Finds operators that are off by ≥10× even though their child operators are estimated correctly. This is where diagnosis should start |
| Ranks real cost | Ranks operators by approximate self time and logical reads, never by estimated cost % |
| Detects ~35 problem patterns | Spills, excessive or waited memory grants, lookup storms, residual predicates, implicit conversions, eager index spools, Halloween spools, many-to-many merges, thread skew, broadcast misestimates, scalar UDFs, MSTVF / table-variable / remote fixed guesses, row goals, stale statistics, and more |
| Avoids known traps | Covers about 25 cases where plan propertie |
Related Skills
Sap Performance Check
SAP 성능 점검 파이프라인. HANA·Work Process·SQL Trace·메모리 버퍼·네트워크까지 레이어별 진단. 월결산 전 사전 점검, 슬로우다운 신고 대응, 업그레이드 후 검증에 활용.
Coding Agent Harness
Nodaris AI's harness for coding agents. It plans before it edits, proves its work before it says done, keeps s
SQL Optimizer
Analyzes a SQL query and execution plan, identifies bottlenecks, and proposes a faster equivalent.
Cfn Knowledge Plan
Planning pipeline for deep NON-CODE deliverables (strategy docs, proposals, competitive analysis, board update
Trident
Prompt, plan, build. A research-grounded multi-model agent pipeline: a small model sharpens the request, a fro
Agent Designer
Design multi-agent systems (supervisor, swarm, pipeline) and tool schemas; find bottlenecks in run logs. Use w
Related Agents
AI Discovery
Read-only discovery in a project with .ai/ — locate an implementation, trace its execution flow, find its call
Polymath Tutor
Teaches one module of the AI Engineer Polymath curriculum, explaining concepts, hinting without implementing,
Growth Analytics
Analytics setup and post-launch analysis. Use to implement KPI/event tracking, and to run cohort/RFM/window-fu