supabase-sync

Pushes database migrations and seed data to a linked Supabase project.

3|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/YanCheng-go/danskprep --skill supabase-sync-yancheng-go
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-sync
Source: https://github.com/YanCheng-go/danskprep/tree/main/.claude/skills/supabase-sync
Command: npx skills add https://github.com/YanCheng-go/danskprep --skill supabase-sync-yancheng-go

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Push migrations and seed data to the Supabase project, ensuring environments stay in sync and reducing manual overhead.

Core Features & Use Cases

  • Apply pending migrations from the migrations directory to the target Supabase project.
  • Seed initial data into the database and keep seed scripts in sync with migrations.
  • Validate authentication and project linkage before performing operations.

Quick Start

Run the Supabase Sync process to push migrations and seed data to your linked Supabase project.

Frequently Asked Questions about supabase-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I push database migrations and seed data to a Supabase project?

To push migrations and seed data to a Supabase project, run the Supabase Sync process to apply pending migrations from your directory and seed initial data to your linked database, ensuring environments stay in sync with minimal manual overhead.

What is the best way to keep staging and production Supabase schemas in sync?

The best way to keep staging and production Supabase schemas in sync is using an ordered migration tool to apply pending schema changes and seed scripts, achieving environment parity and repeatable bootstrap across local and production workflows.

Do I need to validate Supabase CLI linking before applying migrations?

Yes, you need to validate CLI authentication and project linkage before applying migrations. The sync process checks your Supabase project configuration first to ensure authenticated pushes and ordered migrations execute securely.

Can I generate TypeScript types when seeding a Supabase database?

Yes, you can generate TypeScript types when seeding a Supabase database. The sync process supports optional TypeScript type generation alongside applying ordered migrations and seeding initial data into your target project.

Why are my Supabase seed scripts out of sync with my database migrations?

Seed scripts fall out of sync with database migrations when schema changes are applied manually. Using a CLI-based sync process keeps seed data aligned with ordered migrations, ensuring environment parity and repeatable bootstrap across deployments.