sql-smell-detector
Inline SQL smell detector: harvests SQL strings from application code, runs 15+ static analysis rules (SELECT *, missing WHERE, implicit casts, non-sargable filters, cartesian products, SELECT DISTINCT masking bad joins), then LLM classifies business impact and proposes rewritten SQL. Read-only. Trigger: /sql-smells
Pinned to revision 29d23a8cf80e, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/sql-smell-detector/SKILL.md
- skills/sql-smell-detector/README.md
- skills/sql-smell-detector/scripts/sql-harvest.ps1
Every link opens the file at its source, pinned to the revision this page describes.