supabase-gen

Installation
SKILL.md

Supabase Gen

Row-level security is a pain to write. This tool reads your Prisma schema and generates proper RLS policies for Supabase. You get secure defaults that actually make sense for your data model.

One command. Zero config. Just works.

Quick Start

npx ai-supabase-gen prisma/schema.prisma

What It Does

  • Reads your Prisma schema and understands the data model
  • Generates RLS policies for SELECT, INSERT, UPDATE, DELETE
  • Creates auth.uid() checks for user-owned resources
  • Handles multi-tenant patterns with organization scoping
  • Outputs SQL ready to run in Supabase SQL editor
Installs
4
Repository
openclaw/skills
GitHub Stars
4.5K
First Seen
Feb 1, 2026
supabase-gen — openclaw/skills