mssql-performance-revi…
Agentic offline orchestrator for end-to-end SQL Server performance reviews. Forms hypotheses from artifacts or symptoms, dispatches the specialised review…
Analyze SQL Server deadlock XML (from system_health XE session, SSMS deadlock graph, or trace) to identify root cause and produce a prioritized remediation plan. Applies 17 known deadlock patterns (P1–P17). Use when a deadlock monitor captures a graph or users report
$ npx -y skills add vanterx/mssql-performance-skills --skill sqldeadlock-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sqldeadlock-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze SQL Server deadlock XML (from system_health XE session, SSMS deadlock graph, or trace) to identify root cause and produce a prioritized remediation plan. Applies 17 known deadlock patterns (P1–P17). Use when a deadlock monitor captures a graph or users report
name: sqldeadlock-review description: Analyze SQL Server deadlock XML (from system_health XE session, SSMS deadlock graph, or trace) to identify root cause and produce a prioritized remediation plan. Applies 17 known deadlock patterns (P1–P17). Use when a deadlock monitor captures a graph or users report intermittent deadlock errors (error 1205). triggers: - /sqldeadlock-review - /deadlock - /deadlock-analyze
Parse a SQL Server deadlock XML graph, identify the victim and winner processes, extract the queries and lock acquisition patterns involved, match against 17 known deadlock patterns (P1–P17), and produce a prioritized remediation plan.
Accept any of:
1. Parse the XML structure 2. Extract process list (victim, winner, their queries, lock waits) 3. Extract resource list (what locks are held and requested) 4. Match against pattern library 5. Generate remediation recommendations
---
<deadlock>
<victim-list>
<victimProcess id="process1a2b" />
</victim-list>
<process-list>
<process id="process1a2b" taskpriority="0" logused="0"
waitresource="KEY: 5:72057594038910976 (abc123)"
waittime="4023" ownerId="123456"
transactionname="user_transaction"
currentdb="5" spid="52" kpid="1234"
status="suspended" isolationlevel="read committed">
<executionStack>
<frame procname="adhoc" line="3" stmtstart="100" stmtend="200"
sqlhandle="0x...">
UPDATE Orders SET Status = 1 WHERE Id = @id
</frame>
</executionStack>
<inputbuf>UPDATE Orders SET Status = 1 WHERE Id = @id</inputbuf>
</process>
...
</process-list>
<resource-list>
<keylock hobtid="72057594038910976" dbid="5" objectname="dbo.Orders"
indexname="PK_Orders" id="lock1" mode="X" associatedObjectId="...">
<owner-list>
<owner id="process2c3d" mode="X" />
</owner-list>
<waiter-list>
<waiter id="process1a2b" mode="U" requestType="wait" />
</waiter-list>
</keylock>
...
</resource-list>
</deadlock>---
For each process:
For each resource:
---
SQL Server performance tuning skills for LLMs — 829 checks across 26 skills covering T-SQL, execution plans, wait stats, deadlocks, Query Store, indexes, encryption, Always On AG, WSFC, ERRORLOG, SPN, memory, disk I/O, config drift, setup logs, SSRS & migration readiness. Remote MCP server on Cloudflare Workers.
Repo: vanterx/mssql-performance-skills
Agentic offline orchestrator for end-to-end SQL Server performance reviews. Forms hypotheses from artifacts or symptoms, dispatches the specialised review…
Audits SQL Server Always On Availability Group configuration correctness across all layers — prerequisites, replica design, listener architecture, backup…
Analyze SQL Server Setup Bootstrap log files to diagnose failed installations, failed Cumulative Update or Service Pack patching, failed cluster node…
Analyzes Windows Server Failover Cluster (WSFC) CLUSTER.LOG files for Always On Availability Group root-cause diagnosis. Use this skill when an availability…
Analyze SQL Server instance and database configuration drift against proven DBA best practices. Applies 29 checks (B1–B29) across five categories: parallelism…
Analyze SQL Server file-level I/O latency and auto-growth events using sys.dm_io_virtual_file_stats, sys.master_files, and default trace auto-growth records.…