About
The rls-security skill provides a comprehensive library of battle-tested patterns for implementing Row-Level Security in PostgreSQL and Supabase environments. It guides developers through the critical steps of enabling RLS, defining granular access policies for CRUD operations, and setting up essential admin and service role bypasses. The skill specifically addresses advanced scenarios like multi-tenant isolation, role-based access control (RBAC), and performance-optimized strategies to avoid infinite recursion, while offering deep diagnostic utilities to audit and verify security constraints during development.