supabase-rls-policy

Official

Production-ready RLS policies for Supabase.

Authorlinehaul-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides expert guidance for writing Supabase PostgreSQL Row-Level Security policies, ensuring correct syntax, role usage (anon, authenticated), and production-ready patterns.

Core Features & Use Cases

  • Policy Structure: separate policies for SELECT, INSERT, UPDATE, DELETE
  • Supabase Roles: anon and authenticated and how to apply TO clause
  • Helper Functions: auth.uid() and auth.jwt()
  • MFA & Performance: MFA checks and indexing recommendations

Quick Start

Create a policy example on a table to restrict access to authenticated users using their user id.

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-policy
Download link: https://github.com/linehaul-ai/linehaulai-claude-marketplace/archive/main.zip#supabase-rls-policy

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.