migration-safety-inspector
Database migration safety inspector: scans SQL migration files for 20+ safety rules (table rewrites, missing CONCURRENTLY, destructive DROP, unsafe constraints, missing IF EXISTS, DML on existing tables, missing transaction wrappers), then the LLM assesses blast radius per finding against actual schema and usage patterns, recommending safer alternatives. Read-only. Trigger: /migration-safety
Pinned to revision 29d23a8cf80e, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/migration-safety-inspector/SKILL.md
- skills/migration-safety-inspector/README.md
- skills/migration-safety-inspector/scripts/migration-scan.ps1
Every link opens the file at its source, pinned to the revision this page describes.