Supabase Postgres Best Practices

Reviews PostgreSQL schema, queries, indexes, RLS policies and performance. Useful even outside Supabase hosting.

How to use it

Install it with the open Skills CLI (needs Node.js), then restart your agent:

npx skills add supabase/agent-skills --skill supabase-postgres-best-practices
  1. Download the ZIP from this page and unzip it.
  2. Put the supabase-postgres-best-practices folder in .claude/skills/ inside your project (or ~/.claude/skills/ for all projects).
  3. Restart Claude Code and call it with /supabase-postgres-best-practices.

بالعربي

يراجع تصميم PostgreSQL والاستعلامات والفهارس وسياسات RLS والأداء؛ الإرشادات مفيدة حتى خارج استضافة Supabase.

More for databases

  • Database Migrations: Plans safe database migrations: gradual changes, indexes and data backfills without assuming downtime.
  • Supabase: Guides work with Supabase Auth, Database, Storage, Realtime and Edge Functions. Needs a connection and access.