Supabase Rls Migrations

Use when writing, reviewing, or verifying Supabase Postgres migrations, RLS policies, SECURITY DEFINER functions/RPCs, grants, or storage-path code. Also when debugging: a policy that silently matches nothing, "infinite recursion detected in policy" (42P17), "column reference is ambiguous" (42702) from an RPC, "could not choose the best candidate function", anon able to call a function that should be authenticated-only, rows visible/invisible only for some users, a nested embed coming back null, or storage objects that 404 after a move. Covers how to actually test RLS (role impersonation, pglite) — service-role probes prove nothing.

khe618 Updated

File contents

khe618/claude-skills/tree/main/supabase-rls-migrations commit 5f1fe95559

Frequently asked questions

npx skillmds@latest add khe618/supabase-rls-migrations