Back to Skills Hub
Supabase Gen

Supabase Gen

@lxgicstudios
developmentSupabaseRLS GenerationDatabase Security

Generate Supabase Row-Level Security (RLS) policies automatically from a Prisma schema file using AI, eliminating manual policy writing and ensuring secure defaults for your data model.

🚀 Stop writing Row-Level Security policies by hand. Supabase Gen reads your Prisma schema and automatically generates secure RLS policies for Supabase. One command gives you SELECT, INSERT, UPDATE, and DELETE policies with proper auth checks—no configuration needed.

💡 Perfect for launching new Supabase projects, adding security to existing tables, or auditing your access patterns. Whether you're building user-owned resources or multi-tenant apps, this tool handles the common patterns so you can focus on your app.

✨ AI-powered but human-reviewed. Get smart defaults that actually match your data model, then customize as needed. MIT licensed and completely free—no paywalls or API keys required.

GitHub

Requirements

OpenAI API Key

OPENAI_API_KEY environment variable required for AI-powered policy generation