db-policy-apply
CommunitySecure your database tables with RLS policies.
AuthorGDSDN
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the process of installing Row Level Security (RLS) policies on database tables, ensuring that users can only access the data they are authorized to see.
Core Features & Use Cases
- Automated Policy Installation: Installs either a simple "KISS" policy or more granular policies for specific operations (SELECT, INSERT, UPDATE, DELETE).
- Input Validation: Checks if the specified table exists and if the provided mode is valid.
- Migration Generation: Creates SQL migration files for applying policies, suitable for version control.
- Use Case: Securely restrict access to user-specific data in a Supabase project by applying RLS policies to tables like 'profiles' or 'user_data'.
Quick Start
Use the db-policy-apply skill to install a KISS RLS policy on the 'users' table.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: db-policy-apply Download link: https://github.com/GDSDN/kord-aios/archive/main.zip#db-policy-apply 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 223,000+ vetted skills library on demand.