rls-check

Verify Row Level Security policies are enabled on Supabase tables.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SS2608-dev/Resilience --skill rls-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rls-check
Source: https://github.com/SS2608-dev/Resilience/tree/main/.claude/skills/database/rls-check
Command: npx skills add https://github.com/SS2608-dev/Resilience --skill rls-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that Row Level Security (RLS) policies are correctly configured and enabled across all your Supabase database tables, preventing unauthorized data access and enhancing security.

Core Features & Use Cases

  • RLS Policy Verification: Automatically checks if RLS is enabled for every table.
  • Policy Coverage Analysis: Validates that appropriate RLS policies exist for different access levels (public, user-owned, admin-only).
  • Security Auditing: Ideal for regular security audits or before deploying critical database changes to ensure compliance with security requirements.

Quick Start

Run the rls-check skill to verify Row Level Security policies on all public tables.

Frequently Asked Questions about rls-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if Row Level Security is enabled on all my Supabase tables?

To check if Row Level Security is enabled on Supabase tables, you can run an automated verification process that lists all tables with their RLS status and retrieves all active policies to confirm coverage.

How do I audit Supabase RLS policies for different access levels?

You can audit Supabase RLS policies by analyzing policy coverage across different access levels like public, user-owned, and admin-only, then testing enforcement by running queries as different database roles.

What is the best way to test Supabase RLS policy enforcement before deployment?

The best way to test Supabase RLS policy enforcement before deployment is to run validation queries as different roles to verify that access levels and table types are correctly restricted according to the configured policies.

Can I verify policy coverage for admin-only and public tables in Supabase?

Yes, you can verify policy coverage for admin-only and public tables in Supabase by retrieving all existing policies and validating that appropriate access rules exist for each specific table type.

Why does my Supabase database need RLS policy verification?

Your Supabase database needs RLS policy verification to prevent unauthorized data access, ensuring that Row Level Security policies are correctly configured and enabled across all tables to enhance security.