DB Migration Safety Reviewer

Reviewed

Catch unsafe SQL migrations before they lock your production table.

  • Command line
  • Other
  • Paid · $4.99

What DB Migration Safety Reviewer does

A Claude Code skill and a portable ChatGPT/Claude prompt that review schema migrations for blocking locks, irreversible drops, and deploy-ordering breakage before they run. Covers PostgreSQL, MySQL/MariaDB, and SQLite. One-time purchase, instant download.

DB Migration Safety Reviewer is a static pre-deploy checklist for SQL migrations, shipped two ways: as a Claude Code skill that loads automatically whenever a migration is being written or reviewed inside Claude Code, and as a single copy-paste prompt that gives the same review in any chat UI (ChatGPT, Claude, or otherwise) with no install step.

It checks a migration against dialect-specific rules for Postgres, MySQL, and SQLite: lock-risk operations (adding a NOT NULL column without a default on a large table, rewriting a column type, adding an index without CONCURRENTLY on Postgres), unsafe rewrites that silently change table structure, and missing rollback plans. The output is a verdict naming the specific risky operation and the safer rewrite, not a generic lint pass.

The Claude Code skill is a one-time copy into .claude/skills/ with no configuration and no API keys; Claude Code then applies it automatically. The prompt version is for teams or individuals who don't use Claude Code at all: paste the migration, get the same lock/rewrite/rollback verdict back.

It differs from general SQL linters by focusing narrowly on migration-time safety rather than style or syntax, and by being dialect-aware rather than treating all SQL the same way a single set of generic rules would.

Sold via Polar.sh as the merchant of record for one-time purchases: the skill at $19 covers unlimited personal or single-organization use, and the prompt at $4.99 is the lightweight no-install alternative. Independently built and listed; not affiliated with Anthropic.

Best for

Developers and small teams writing or reviewing SQL migrations for Postgres, MySQL, or SQLite who want a pre-deploy safety check without adding a DBA review step for every change.

Not for

Teams running very large or unusual migrations that need an actual DBA's sign-off rather than a static checklist, or teams already enforcing migration safety through a dedicated tool like pt-online-schema-change or gh-ost.

Questions, answered by the maker

What does it do?

It reviews a SQL migration for lock-risk operations, unsafe rewrites, and missing rollback plans, and names the specific risky operation plus a safer rewrite, across Postgres, MySQL, and SQLite dialects.

How much does it cost, and is there a free plan?

There is no free tier. The Claude Code skill is $19 one-time for unlimited personal or single-organization use; the standalone prompt version is $4.99 one-time. Both are sold via Polar.sh.

How do I get started?

For Claude Code: copy the db-migration-safety-review folder into .claude/skills/ and it loads automatically. For any other chat UI: buy the prompt and paste it before pasting your migration.