REF-supabase

Manage Supabase database migrations, seeding, type generation, and edge function deployment.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/medtrics/medtrics-acumen --skill ref-supabase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: REF-supabase
Source: https://github.com/medtrics/medtrics-acumen/tree/main/addons/supabase/REF-supabase
Command: npx skills add https://github.com/medtrics/medtrics-acumen --skill ref-supabase

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the entire Supabase database lifecycle, from initial setup and migrations to data seeding, type generation, and remote deployment, eliminating common database management complexities.

Core Features & Use Cases

  • Database Management: Handle schema changes, apply migrations, and manage database resets locally and remotely.
  • Data Operations: Seed databases with deterministic data and generate TypeScript types directly from your schema.
  • Edge Functions: Deploy and manage Supabase Edge Functions for serverless backend logic.
  • Use Case: When developing a new feature that requires database changes, use this Skill to create and apply migrations, generate updated types for your frontend, and deploy necessary edge functions, ensuring a consistent and up-to-date database state.

Quick Start

Use the REF-supabase skill to apply pending migrations to the remote database.

Frequently Asked Questions about REF-supabase

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

FAQPage Schema
How do I manage Supabase database migrations locally and remotely?

You can manage Supabase database migrations by applying schema changes and resetting databases locally and remotely. This handles the full lifecycle from creating migrations to deploying them across development and hosted environments using the Supabase CLI.

Can I generate TypeScript types directly from a Supabase database schema?

Yes, you can generate TypeScript types directly from a Supabase database schema. This ensures your frontend and backend logic maintain strict type safety based on the current database state without manual type definitions.

What's the best way to deploy Supabase Edge Functions for serverless backend logic?

Deploying Supabase Edge Functions is handled through the Supabase CLI. You can manage the deployment and lifecycle of these serverless backend functions, ensuring your remote environment stays synchronized with your local development setup.

Do I need the Supabase CLI and psql to seed data and manage my database?

Yes, you need the Supabase CLI, Node.js, and psql installed to execute database operations. These tools provide the necessary environment to run schema migrations, seed deterministic data, and manage remote database states effectively.

How do I seed a Supabase database with deterministic data during development?

Seeding a Supabase database with deterministic data is supported natively during the database lifecycle. You can populate your local or remote database with consistent test data to ensure reliable development and testing conditions.

Why are my Supabase schema migrations failing to apply to the remote database?

Supabase schema migrations may fail due to environment misconfigurations or missing dependencies. The Skill provides detailed command references and troubleshooting guidance to resolve common migration and deployment issues across local and remote environments.