veta-supabase-rls
CommunityImplement Supabase RLS safely with typed access.
Software Engineering#code review#error handling#rls#supabase#row level security#client vs server#typed access
Authormarcogonzalo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents common Supabase integration mistakes by guiding how to use the correct client in the right runtime and by reinforcing robust Row Level Security (RLS) so unauthorized data access is blocked by design.
Core Features & Use Cases
- Client vs server correctness: Use the browser client in client-side code and the server client for RSC/API/server actions to avoid runtime/auth bugs.
- Typed database access: Keep database types centralized to reduce circular imports and improve maintainability when writing or reviewing Supabase queries.
- RLS-first security discipline: Ensure RLS is enabled on every table, require policies for CRUD operations, and never rely on client-side checks or expose service-role credentials.
- Reliable error handling: Require checking the returned
errorfrom Supabase calls and surfacing meaningful feedback to users.
Quick Start
Review the code for any Supabase call paths and update them to use the correct client (browser vs server), enforce RLS with policies, and handle error responses consistently.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: veta-supabase-rls Download link: https://github.com/marcogonzalo/studio-manager/archive/main.zip#veta-supabase-rls Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.