# 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.

- Skill: `conectlens/supabase-api-rpc-reviewer` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add conectlens/supabase-api-rpc-reviewer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/conectlens/supabase-api-rpc-reviewer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: conectlens (https://skillmd.com/u/conectlens)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/conectlens/supabase-api-rpc-reviewer

---


# 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](references/REFERENCE.md)
- [Function contract template](assets/function-contract-template.md)
