Supabase API Rpc Reviewer

Review Supabase SQL functions, RPC exposure, return contracts, and API-facing database surfaces. Use for public API design, function hardening, response stability, and deciding between direct table access and RPC.

conectlens 079c6c9 4 files · 2.4 KB Updated

File contents

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

  1. Inspect the API-facing database surface.
  2. Flag unstable contracts, privilege problems, and unnecessary RPC complexity.
  3. Return the safest interface shape and exact adjustments.
  4. Run 'npx supabase migration up --local' to ensure the created migrations applied successfully.

Load only when needed

  • RPC review guide
  • Function contract template

conectlens/lenserfight/tree/main/.agents/skills/supabase-api-rpc-reviewer commit 079c6c9bc7

Frequently asked questions

npx skillmds@latest add conectlens/supabase-api-rpc-reviewer