Supabase API RPC Reviewer
Use when
- adding or changing SQL functions or RPCs
- reviewing API exposure through the database layer
- deciding whether an operation should be a function, view, or table access path
Workflow
- Inspect the API-facing database surface.
- Flag unstable contracts, privilege problems, and unnecessary RPC complexity.
- Return the safest interface shape and exact adjustments.
- Run 'npx supabase migration up --local' to ensure the created migrations applied successfully.
Load only when needed
- RPC review guide
- Function contract template