What problem does it solve? Manually writing and applying Row Level Security (RLS) policies in Supabase is error-prone and often leads to performance issues or security gaps, such as unindexed filter columns or unsafe use of user-modifiable metadata. This Skill standardizes the creation, migration, and testing of RLS policies on database tables. ## Core Features & Use Cases - Policy Templates: Applies either a single KISS policy covering all operations or granular per-operation policies (SELECT, INSERT, UPDATE, DELETE) with performance-optimized cached auth.uid() calls. - Migration Generation: Creates timestamped SQL migration files, applies them, and verifies the policies with role-based tests. - Security Guardrails: Warns against dangerous patterns like using raw_user_meta_data in policies and enforces NULL checks for unauthenticated users. - Use Case: After creating a new 'projects' table in Supabase, apply a KISS RLS policy so each authenticated user can only read and modify their own rows, with the migration committed to version control. ## Quick Start Apply a KISS row-level security policy to the projects table in my Supabase database and generate the migration file.