Skills Data

Lock the database

Schema, RLS, and safe migrations

Supabase Postgres Best Practices

Apply Supabase-oriented Postgres rules: schema design, RLS, indexes, and safe migrations.

CursorClaudeCodexGrok SupabasePostgresRLS

What it is

Supabase Postgres Best Practices keeps agents from inventing RLS policies that fail open, skipping indexes on filter columns, or shipping migrations that lock production tables. It is vendor guidance for real Supabase projects, not generic SQL trivia.

Example prompt

Lock the database

Add an orders table with RLS so users only see their own rows. Show the migration and policies.

Source: Supabase

Read the full install guide

Related skills