rls-setup
Installation
SKILL.md
Prerequisite: This skill requires a schema0 template project. Before using, ensure
CLAUDE.mdexists in the project root and read it for project rules and conventions.
Row-Level Security (RLS) Setup
When to Use This Skill
Use this skill when you need to:
- Set up database tables with Row-Level Security policies
- Configure authenticated database connections
- Implement user-scoped data access
- Add new tables with RLS policies
- Secure database operations with user-based access control
Quick Start: Generate RLS Router
⚠️ ALWAYS start with scaffolding before writing code:
Related skills
More from schema0/ai-agent-plugins
manage-secrets
Add and manage application secrets and environment variables. Use when adding API keys, credentials, or updating env.ts.
2schema-gen
Generates database table schema with Drizzle ORM (project)
2api-router
Generates ORPC routers with drizzle-zod schemas from db package, bulk operations, and protected procedures (project)
2workflow-builder
>-
2handle-views
Generates route components - List Route and Detail Route (project)
2ai-integration
Generate AI-powered features using AI SDK with oRPC. Use when building chat apps, AI endpoints, or integrating LLMs.
2