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 Updated 18 repo stars
Product tour: Discover, Lenses, Workflows, Agents, Lensers, LenserBoard

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 commit 079c6c9bc7

Frequently asked questions

npx get-skill add conectlens/supabase-api-rpc-reviewer