What this agent helps you do
A Supabase row level security review agent focuses on policy behavior and user scenarios. It helps teams identify risky access assumptions, missing tests, and changes that require careful approval.
When to use this workflow
Use it before launching new roles, changing table access, debugging authorization bugs, or reviewing customer-impacting data flows.
How Supabase gives the agent context
Connect Supabase and specify the project, tables, policies, roles, and user scenarios. Ask the agent to prefer read-only checks and mark policy changes for approval.
Example starter prompt
Review Supabase RLS policies for this feature. Summarize intended access, risky scenarios, validation checks, missing context, and approval-ready policy changes.
Suggested workflow steps
The agent maps policies to scenarios, identifies gaps, prepares safe validation checks, and documents assumptions.
Expected handoff
The output should include a policy summary, scenario table, risks, and validation checklist. Pair with GitHub when app code or migrations are involved.