Skip to content

Supabase Postgres Best Practices

Schema, RLS, indexes and query tuning rules for any Postgres database.

Official vendorby SupabaseChecked October 18, 2026

Supabase's Postgres guidance for agents, useful for any Postgres database, not only Supabase. Claude loads it before touching tables, policies or indexes and when diagnosing slow or wrong queries.

Who it is for

  • Backend developers
  • Vibe coders using Supabase
  • Data engineers

Prompts to try

Once the skill is installed, ask for the result in plain words. Claude picks the skill up on its own.

Prompt 1
Design the tables and RLS policies for a multi-tenant invoicing app
Prompt 2
This query takes 8 seconds, find out why and fix it
Prompt 3
Review my migration before I run it in production

How to install it

In Claude Code

  1. /plugin install supabase@claude-plugins-official

In Claude.ai

Add supabase/agent-skills as a marketplace under Customize > Plugins > Add > Add marketplace, then add the plugin from that list.

Good to know

The official Supabase plugin bundles this skill, the general supabase skill and the Supabase MCP server. Skills only: /plugin marketplace add supabase/agent-skills then /plugin install postgres-best-practices@supabase-agent-skills.

Unlock the install steps

Free. Leave your email once to open the install steps for all 149 skills, and get the best new skills each month.

No spam. One click to unsubscribe. We use your email to send you the course and AI tips.

How we checked it

Confirmed SKILL.md at skills/supabase-postgres-best-practices/SKILL.md in supabase/agent-skills via the GitHub API; skill folder last changed 2026-07-30, repo has 2,860 stars and was pushed 2026-10-02.

Source: github.com/supabase/agent-skills/tree/main/skills/supabase-postgres-best-practices