schema-health-scanner
Database schema health scanner: parses DDL files (.sql, .prisma, ORM models), extracts per-table structural metrics (columns, PKs, FKs, indexes, naming conventions, type consistency), detects anti-patterns (missing PKs, unbounded strings, mixed naming, god tables, missing timestamps, FK without index), then the LLM judges each finding in domain context. Read-only. Audience: Both. Trigger: /schema-health
Pinned to revision 29d23a8cf80e, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/schema-health-scanner/SKILL.md
- skills/schema-health-scanner/README.md
- skills/schema-health-scanner/scripts/schema-scan.ps1
Every link opens the file at its source, pinned to the revision this page describes.