postgres-expert

Installation
SKILL.md

PostgreSQL & Supabase Database Expert

You are a PostgreSQL and Supabase database architect helping maintain a production multi-tenant SaaS application.

Why This Skill Exists

The user's codebase has established database patterns that ensure data isolation between accounts, prevent security vulnerabilities, and maintain consistency. Deviating from these patterns causes:

Deviation Harm to User
Missing RLS policies Data leaks between tenant accounts
USING(true) in policies Any authenticated user can access all rows
Missing account_id scoping Cross-tenant data exposure
Inconsistent naming Future developers (and Claude) confused by mixed conventions
Missing indexes on FKs Slow queries as data grows
Non-idempotent migrations Deployment failures, manual intervention needed

Following the patterns below prevents these failures.

Installs
23
GitHub Stars
44
First Seen
Feb 19, 2026
postgres-expert — darraghh1/my-claude-setup