mcpField
D
database-migration-integrity-checker

database-migration-integrity-checker

github.com/jorgealvesData & databases2182 installsUpdated 4d ago
Repository

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

  1. 01Checks SQL migration files
  2. 02Flags risky schema operations
  3. 03Reads files without database access
  4. 04Supports local and CI/CD checks

Use cases

  1. 01Check migrations before committing
  2. 02Block risky migrations in CI/CD
  3. 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-checker

After installing, type/database-migration-integrity-checkerin Claude Code to confirm it loaded.

Bundled filesskill.yaml

Details

From the project README

Database 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