Use when building or debugging Supabase features โ RLS policies, Auth flows, Storage rules, Edge Functions, and real-time subscriptions
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
-- Enable RLSALTER TABLE profiles ENABLE ROW LEVEL SECURITY;
-- Policy: Users can read own profileCREATE POLICY "Users can view own profile"
ON profiles FORSELECTUSING (auth.uid() = user_id);
-- Policy: Users can update own profileCREATE POLICY "Users can update own profile"
ON profiles FORUPDATEUSING (auth.uid() = user_id);