memstack-security-rls-guardian

Enforce Row Level Security on Supabase table creations and modifications.

412|45|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/cwinvestments/memstack --skill memstack-security-rls-guardian
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: memstack-security-rls-guardian
Source: https://github.com/cwinvestments/memstack/tree/main/skills/security/rls-guardian
Command: npx skills add https://github.com/cwinvestments/memstack --skill memstack-security-rls-guardian

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) components.

What problem does it solve?

This skill ensures that no Supabase table is deployed without proper Row Level Security (RLS) policies, preventing data breaches and unauthorized access.

Core Features & Use Cases

  • Automated Policy Enforcement: Guarantees RLS is applied to all new tables.
  • Policy Patterns: Offers 4 pre-defined RLS policy patterns for common scenarios.
  • Migration Templates: Provides templates to integrate RLS into your database migrations.
  • Pre-commit Checks: Validates RLS policies before code commits.
  • Audit Queries: Helps identify existing tables lacking RLS.
  • Use Case: When creating a new users table in Supabase, this skill automatically adds RLS policies to ensure users can only access their own data.

Quick Start

Use the RLS Guardian skill to add Row Level Security policies to the new 'products' table.

Frequently Asked Questions about memstack-security-rls-guardian

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

FAQPage Schema
How do I enforce Row Level Security on Supabase table creations?โ–ผ

Enforce Row Level Security on Supabase table creations by applying pre-defined policy patterns and migration templates. This guarantees data access control is consistently applied to prevent unauthorized access to new tables.

How can I audit existing Supabase tables for missing RLS policies?โ–ผ

Audit existing Supabase tables for missing RLS policies by running targeted audit queries. This identifies tables lacking data access control and helps you apply necessary RLS policy enforcement retroactively.

What are common Row Level Security policy patterns for Supabase?โ–ผ

Common Row Level Security policy patterns for Supabase include four pre-defined templates for frequent scenarios, such as ensuring users can only access their own data within a newly created table.

Can I validate Supabase RLS policies before code commits?โ–ผ

Validate Supabase RLS policies before code commits using integrated pre-commit checks. This ensures no Supabase table is deployed without proper Row Level Security policies, preventing unauthorized data breaches.

How do I integrate RLS into Supabase database migrations?โ–ผ

Integrate RLS into Supabase database migrations using provided migration templates. These templates ensure Row Level Security policies are consistently applied during table modifications and creations.