Review migration

From stbenjam/skillsaw · View interactive version

Review migration is an AI agent skill from the GitHub repository stbenjam/skillsaw. Reviews database migrations before they merge.

How to use this skill

Skill file

Review Migration

Checks a pending migration for locks, backfills, and rollback safety

before it reaches the deploy queue.

What to check

  1. Does the migration take an exclusive lock on a table larger than a

million rows? See the locking notes.

  1. Is the backfill batched, with a bounded batch size?
  2. Can the migration be reverted without data loss?

A migration that fails any of these gets a written explanation on the pull

request, using the review template.

Prior decisions are recorded in the migration log.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.