From stacklane
Apply Supabase migrations through a guarded, script-backed workflow with rollback notes and verification.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stacklane:migrate-safeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use the script entrypoint for deterministic safety checks and report artifacts.
Use the script entrypoint for deterministic safety checks and report artifacts.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/stacklane-migrate-safe.sh" --environment staging
--environment <staging|production>--service <name>--confirm-production I_UNDERSTAND_PRODUCTION (required for production)--smoke-command "..."--skip-verify--dry-run--confirm-production I_UNDERSTAND_PRODUCTION.database=supabase in the active profile..stacklane/migration-reports/.stacklane/migration-reports/commands.rollback is not configured, return rollback guidance as "not configured" rather than inventing a command.npx claudepluginhub bishnubista/stacklane --plugin stacklaneUnified database migration skill. Use when user says "test migration", "push migration", "deploy migration", "reset local database", or "db push". Promotion pipeline local → staging → production with approval gates at each stage.
Guides Supabase CLI migrations: npx supabase migration new, zero-downtime schema changes, data backfills, versioning, rollbacks, and TypeScript type generation. For production DB updates without downtime.
Provides SQL database migration strategies with zero-downtime deployment, data integrity checks, and rollback procedures for PostgreSQL, MySQL, and SQL Server.