migration-guard

Installation
SKILL.md

Migration Guard

Read-only structural analysis. CAVEAT: Lock risk predictions require live table size, row counts, and engine metadata which this skill cannot access. Treat lock assessments as directional, not definitive.

1. Detect framework

Check project root: go.mod with goose/golang-migrate/atlas (Go), drizzle.config.* (Drizzle), alembic.ini or alembic/ (Alembic), knexfile.* (Knex), raw .sql files (generic SQL). Report detected framework. If none match, analyze as raw SQL.

2. Scope

$ARGUMENTS files, or changed migration files since last commit:

git diff --name-only HEAD | grep -iE '(migrat|schema|\.sql)'

Fallback to HEAD~1 with same filter. Read every in-scope file before analysis.

3. Analysis checklist

Installs
3
GitHub Stars
3
First Seen
Jun 15, 2026
migration-guard — indrasvat/claude-code-skills