소개
This skill provides a standardized framework for implementing Supabase Row Level Security (RLS) with a focus on performance and security. It enforces best practices such as B-tree indexing on filter columns, leveraging initPlan caching via auth.uid() wrapping, and securing SECURITY DEFINER functions through schema qualification and search_path definitions. By following these guidelines, developers can ensure that security boundaries are strictly maintained at the database level while optimizing query execution plans and migration workflows.