D
database-migration-integrity-checker
About database-migration-integrity-checker
database-migration-integrity-checker checks SQL migration files for risky schema changes, helping developers catch potential data loss or production outages. It reads files without connecting to a database and is intended for local checks or CI/CD pipelines.
Key features
- 01Checks SQL migration files
- 02Flags risky schema operations
- 03Reads files without database access
- 04Supports local and CI/CD checks
Use cases
- 01Check migrations before committing
- 02Block risky migrations in CI/CD
- 03Review schema changes for data-loss risks
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jorgealves/ agent_skills --skill database-migration-integrity-checkerAfter installing, type/database-migration-integrity-checkerin Claude Code to confirm it loaded.
Bundled filesskill.yaml
Details
From the project READMEDatabase Migration Integrity Checker
Purpose and Intent
The database-migration-integrity-checker is a safety net for your most critical asset: your data. It catches dangerous SQL operations that might pass a standard code review but could cause production outages or data loss.
When to Use
- CI/CD Pipelines: Block deployments if a migration contains a high-risk operation without manual override.
- Local Development: Run before committing a new migration to ensure it follows safe DDL practices.
When NOT to Use
- Data Querying: This is for schema changes, not for auditing standard SELECT/INSERT queries.
Security and Data-Handling Considerations
- Reads SQL files only; no database access required.
- Safe for local use.
Comments
Markdown supported