Supabase Database Skill
Goal
Manage the database schema and data operations.
Instructions
- Identify the command needed based on user intent.
- Open the relevant rule file:
supabase db diff-> .agent/rules/supabase/commands/db/diff.mdsupabase db dump-> .agent/rules/supabase/commands/db/dump.mdsupabase db pull-> .agent/rules/supabase/commands/db/pull.mdsupabase db push-> .agent/rules/supabase/commands/db/push.mdsupabase db reset-> .agent/rules/supabase/commands/db/reset.md
- Check 00_global_policy.md for destructive operation safety gates (especially for
db reset). - Ensure the project is correctly linked before running
pullorpush.
Examples
- "Compare local schema with remote" -> Use
supabase db diff - "Pull latest changes from production" -> Use
supabase db pull - "Export local database content" -> Use
supabase db dump
Converted and distributed by TomeVault — claim your Tome and manage your conversions.