migrations-workflow
Installation
SKILL.md
Manage database migrations: $ARGUMENTS
$ARGUMENTS can include:
- "generate" — generate a new migration from schema changes
- "apply" — apply pending migrations to the target environment
- "rollback" — roll back the last migration
- "status" — show applied vs pending migrations
- "sync" — align local schema with live Supabase DB (audit only, no changes)
- "new " — generate a named migration (e.g. "new add-user-profiles")
- Empty — interactive: show status, then ask what to do