You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: move example/ into skills/<name>/examples/ for self-contained installs (#19)
Each skill now ships its sample input files and reference analysis outputs
inside its own directory, so installs via `cp -r skills/* ~/.claude/skills/`
include the examples without requiring the full repo clone.
All references in CLAUDE.md, README.md, HOW_TO_USE.md, SKILL.md files,
evals/evals.json, analysis .md files, and scripts/verify-docs.sh updated
to reflect the new paths.
|[skills/sqlplan-review/examples/horrible-analysis.md](skills/sqlplan-review/examples/horrible-analysis.md)| Reference output of `/sqlplan-review` on the above plan |
86
+
|[skills/tsql-review/examples/](skills/tsql-review/examples/)|`slow_proc.sql` with 12 anti-patterns + expected analysis |
|[skills/sqlplan-deadlock/examples/](skills/sqlplan-deadlock/examples/)| P1 lock-order deadlock XML + analysis |
90
+
|[skills/sqltrace-review/examples/](skills/sqltrace-review/examples/)|`fn_trace_gettable` output with N+1, sniffing, spills + analysis |
91
+
|[skills/sqlwait-review/examples/](skills/sqlwait-review/examples/)|`sys.dm_os_wait_stats` output with I/O, lock, memory, CXPACKET + analysis |
92
+
|[skills/sqlplan-index-advisor/examples/](skills/sqlplan-index-advisor/examples/)| Index advisor output for `horrible.sqlplan`|
93
+
|[skills/sqlplan-batch/examples/](skills/sqlplan-batch/examples/)| Aggregate dashboard for a 3-plan batch |
94
+
|[skills/query-store-review/examples/](skills/query-store-review/examples/)| Query Store DMV output with plan instability, forced plan failure, N+1 + analysis |
95
+
|[skills/procstats-review/examples/](skills/procstats-review/examples/)| Q1 report output with CPU hotspot, parameter sniffing, N+1 caller, blocking signal + analysis |
96
+
|[skills/clusterlog-review/examples/](skills/clusterlog-review/examples/)| CLUSTER.LOG with lease timeout, heartbeat loss, AG offline transition, VerboseLogging=0 + analysis |
97
+
|[skills/hadr-health-review/examples/](skills/hadr-health-review/examples/)| 3-replica AG with disconnected secondary, 620 MB redo queue, secondary lag 85 sec + analysis |
98
+
|[skills/errorlog-review/examples/](skills/errorlog-review/examples/)| ERRORLOG with I/O slow → AG lease expiry → failover sequence, login failure burst, trace flags + analysis |
@@ -138,7 +138,7 @@ These steps apply to any skill. Replace `<skill>` with the skill directory name
138
138
5. Add a full `## <skill-name>` section to [README.md](README.md) with triggers, usage, and output sample
139
139
6. Add the skill to [PERFORMANCE_TUNING_GUIDE.md](PERFORMANCE_TUNING_GUIDE.md) Skills at a Glance, Skill Scope Comparison, and relevant scenario sections
140
140
7. Add the skill file size row to [LLM_COST_ESTIMATION.md](LLM_COST_ESTIMATION.md)
141
-
8. Add example input + analysis files to `example/<skill-name>/`
141
+
8. Add example input + analysis files to `skills/<skill-name>/examples/`
142
142
9. Add `tsql-review` as companion in `sqlplan-review/SKILL.md` (or the relevant existing companion)
4. Compare the output to [example/sqlplan-review/horrible-analysis.md](example/sqlplan-review/horrible-analysis.md) — that's the reference gold-standard output showing the expected Critical / Warning / Info findings and Passed Checks table.
52
+
4. Compare the output to [skills/sqlplan-review/examples/horrible-analysis.md](skills/sqlplan-review/examples/horrible-analysis.md) — that's the reference gold-standard output showing the expected Critical / Warning / Info findings and Passed Checks table.
53
53
54
54
**Don't have a plan yet?** Use the symptom-based routing in [PERFORMANCE_TUNING_GUIDE.md](PERFORMANCE_TUNING_GUIDE.md) to pick the right skill for what you have.
**Sample output:** See [`example/procstats-review/proc_stats_output-analysis.md`](example/procstats-review/proc_stats_output-analysis.md).
1212
+
**Sample output:** See [`skills/procstats-review/examples/proc_stats_output-analysis.md`](skills/procstats-review/examples/proc_stats_output-analysis.md).
-[`example/mssql-performance-review/mixed-artifacts-analysis.md`](example/mssql-performance-review/mixed-artifacts-analysis.md) — artifact-driven review with full report
1300
-
-[`example/mssql-performance-review/symptom-first-analysis.md`](example/mssql-performance-review/symptom-first-analysis.md) — symptom-only triage with capture-bundle response
-[`example/mssql-performance-review/baseline-diff-analysis.md`](example/mssql-performance-review/baseline-diff-analysis.md) — verification report 24h after deploy with recommendation tags
1299
+
-[`skills/mssql-performance-review/examples/mixed-artifacts-analysis.md`](skills/mssql-performance-review/examples/mixed-artifacts-analysis.md) — artifact-driven review with full report
1300
+
-[`skills/mssql-performance-review/examples/symptom-first-analysis.md`](skills/mssql-performance-review/examples/symptom-first-analysis.md) — symptom-only triage with capture-bundle response
-[`skills/mssql-performance-review/examples/baseline-diff-analysis.md`](skills/mssql-performance-review/examples/baseline-diff-analysis.md) — verification report 24h after deploy with recommendation tags
1303
1303
1304
1304
**When to use this vs a specialised skill directly:**
1305
1305
@@ -1346,7 +1346,7 @@ The orchestrator does not duplicate the specialised skills — it composes them.
1346
1346
1347
1347
## Example
1348
1348
1349
-
See [`example/sqlplan-review/horrible-analysis.md`](example/sqlplan-review/horrible-analysis.md) for a full analysis of [`example/sqlplan-review/horrible.sqlplan`](example/sqlplan-review/horrible.sqlplan) — a deliberately bad plan demonstrating parameter sniffing, memory grant failure, TempDb spills, leading-wildcard LIKE, implicit conversion, and 5M-row key lookups.
1349
+
See [`skills/sqlplan-review/examples/horrible-analysis.md`](skills/sqlplan-review/examples/horrible-analysis.md) for a full analysis of [`skills/sqlplan-review/examples/horrible.sqlplan`](skills/sqlplan-review/examples/horrible.sqlplan) — a deliberately bad plan demonstrating parameter sniffing, memory grant failure, TempDb spills, leading-wildcard LIKE, implicit conversion, and 5M-row key lookups.
0 commit comments