supabase-rls

Community

Secure data with ready-made Supabase RLS policies.

Authordvorkinguy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Supabase Row Level Security (RLS) policies help enforce fine-grained access control on your tables. This Skill provides ready-to-use RLS patterns for common scenarios such as per-user data visibility and multi-tenant isolation, plus examples for admin bypass on server-side operations.

Core Features & Use Cases

  • Predefined RLS policies for common patterns (Users view own data, Users insert/update own data, etc.)
  • Multi-tenant data isolation patterns (Team-based access, role-based access)
  • Service role bypass example for server-side operations
  • Testing and validation patterns to ensure policies behave correctly

Quick Start

Apply SQL blocks from the SKILL body to enable RLS on your tables. For example, connect to your database with psql and execute the policy snippets, adjusting table names to your schema. Example: psql -h <host> -d <db> -U <user> -f policies.sql

Dependency Matrix

Required Modules

None required

Components

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: supabase-rls
Download link: https://github.com/dvorkinguy/claude-skills-agents/archive/main.zip#supabase-rls

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository