rls-guardian
CommunityAutomatically enforce RLS on schema changes.
Authorjtucker9
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automatically enforces row-level security policies on new or modified PostgreSQL tables during migrations to prevent insecure live schemas.
Core Features & Use Cases
- Intercepts CREATE TABLE and ALTER TABLE changes to classify access patterns (OWNERSHIP, TENANT, PUBLIC_READ, ADMIN_ONLY, VISIBILITY, RELATIONSHIP).
- Generates complete RLS policy sets and assesses FORCE RLS and performance considerations for production deployments.
- Useful for multi-tenant apps and security-focused migrations where policy drift is a risk and must be verifiable.
Quick Start
Apply RLS policy templates to a new or updated table and run migration tests to verify correct enforcement.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rls-guardian Download link: https://github.com/jtucker9/mystuff/archive/main.zip#rls-guardian Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.