SQL Explainer
by kritak
Paste a SQL query and get a plain-English breakdown — what tables it touches, what filters apply, what the output shape will be, and any obvious performance pitfalls.
/sql-explain
$ install
# Generic skill — works in any Claude-compatible host
# See your client's docs for skill installation paths
$ cat readme.md
What it does
Takes a SQL statement and produces:
- Plain-English narration of what the query does
- Table & column inventory — what's read, what's joined, what's filtered
- Output shape — rough description of the result set
- Performance notes — full table scans, missing indexes, cartesian risks
Useful for inheriting unfamiliar codebases or reviewing migrations.