com um clique
audit-rls
Scan Supabase for tables missing RLS policies. Usage: /audit-rls
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Scan Supabase for tables missing RLS policies. Usage: /audit-rls
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Systematic walkthrough for diagnosing Playwright E2E failures in the Bullhorn repo — production build mismatches, auth gate regressions, navigation races, schema drift, test isolation.
Create and apply a database migration. Usage: /db-migrate <migration_name>
Check Vercel deployment status, compare deployed vs main, and report recent errors. Usage: /deploy-check
Generate Vitest tests for a file following project conventions. Use when asked to create tests for a source file.
Monitor CI status for the current branch, diagnose failures, and summarize results.
Generate a boilerplate API route following project conventions. Usage: /scaffold-api <path> <methods>
Audit all tables in the Supabase database for missing or incomplete Row Level Security (RLS) policies.
List tables — Use the Supabase MCP list_tables tool to get all tables in the public schema for project <your-supabase-project-ref>.
Check RLS status — Use the Supabase MCP execute_sql tool to query which tables have RLS enabled:
SELECT schemaname, tablename, rowsecurity
FROM pg_tables
WHERE schemaname = 'public'
ORDER BY tablename;
Get existing policies — For each table, query the existing RLS policies:
SELECT schemaname, tablename, policyname, permissive, roles, cmd, qual, with_check
FROM pg_policies
WHERE schemaname = 'public'
ORDER BY tablename, policyname;
Analyze gaps — For each table, check:
rowsecurity = true)?auth.uid() = user_id condition?true as qual)?Report findings — Output a summary table:
## RLS Audit Report
| Table | RLS Enabled | SELECT | INSERT | UPDATE | DELETE | Issue |
|-------|------------|--------|--------|--------|--------|-------|
For each issue found, provide the suggested fix SQL:
ALTER TABLE public.<table> ENABLE ROW LEVEL SECURITY;
CREATE POLICY "<table>_select" ON public.<table>
FOR SELECT USING (auth.uid() = user_id);
CREATE POLICY "<table>_insert" ON public.<table>
FOR INSERT WITH CHECK (auth.uid() = user_id);
CREATE POLICY "<table>_update" ON public.<table>
FOR UPDATE USING (auth.uid() = user_id) WITH CHECK (auth.uid() = user_id);
CREATE POLICY "<table>_delete" ON public.<table>
FOR DELETE USING (auth.uid() = user_id);
user_id column separately (they may use different ownership patterns)schema_migrations, tables in auth/storage schemas)