What problem does it solve?
This skill eliminates the manual effort and risk of error when creating Supabase SQL migrations that match application code changes, preventing schema drift and deployment failures.
Core Features & Use Cases
- Automated Migration Generation: Translates session branch code diffs into minimal, idempotent SQL migrations for Supabase deployment.
- Incremental Delta Calculation: Only emits schema changes not already present in existing migrations, avoiding redundant deployments.
- View Consistency Enforcement: Automatically recreates affected views with correct column ordering to prevent PostgreSQL ordinal shift errors.
Use case: When a developer adds a new custom field to a contact entity in a CRM session, this skill generates the correct SQL migration to add that column to the database and update related summary views without breaking existing functionality.
Quick Start
Request the deploy-time migration generation for your current session branch to automatically create and commit the correct idempotent Supabase SQL migration file.