The migrate-validate skill provides a comprehensive auditing layer for your database schema changes, ensuring that pending migrations are safe to deploy. By parsing SQL files and utilizing Claude Flow's memory tools, it detects broken foreign key references, missing rollback logic, and naming convention violations before they reach production. It acts as an automated gatekeeper, flagging destructive operations and verifying idempotency to prevent deployment failures and data loss.
主な機能
01Automated foreign key and schema consistency verification
02Integration with Claude Flow memory for migration history tracking
03Rollback completeness check for up/down SQL parity
0459,149 GitHub stars
05Detection of destructive operations like DROP and TRUNCATE
06Naming convention and SQL idempotency validation
ユースケース
01Ensuring every migration has a functional rollback script for CI/CD safety
02Pre-deployment auditing of complex database schema changes
03Enforcing consistent snake_case and pluralization naming standards across teams