Skill: Supabase Postgres Best Practices
by Supabase
Supabase's official Postgres skill — eight rule categories ranked by impact, each with wrong-vs-right SQL and EXPLAIN output, for schema, RLS, indexing and query work on Postgres anywhere.
Supabase's official skill covering Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron and Queues — with a hard rule to verify against the live changelog before writing code.
Supabase ships fast enough that a model's training data is routinely wrong about it: function signatures move, config.toml keys change, API conventions shift between versions. This official skill opens by telling the agent not to trust its own memory — fetch supabase.com/changelog.md, scan for breaking-change tags relevant to the task, and read the current docs before implementing anything.
The rest is the Supabase-specific knowledge that agents most often get wrong, and where getting it wrong is a security problem rather than a bug:
anon/authenticated are explicitly granted access — a separate question from which rows RLS makes visible. The skill teaches the agent to check Data API settings when a user reports a table is unexpectedly unreachable, and to enable RLS whenever it grants public access.raw_user_meta_data can appear in auth.jwt(), so it must never drive an authorization decision; authorization data belongs in raw_app_meta_data.session_id validated against auth.sessions for strict guarantees.It also covers the client libraries and SSR integrations (supabase-js, @supabase/ssr) across Next.js, React, SvelteKit, Astro and Remix, the Supabase CLI and MCP server, migrations and declarative schemas, and the Postgres extensions Supabase exposes — pg_graphql, pg_cron, pg_vector.
Two working rules run through it: verify every fix with a real test query, and stop after two or three failed attempts rather than looping on the same command. Installable via npx skills add supabase/agent-skills --skill supabase or as a Claude Code plugin; compatible with 18+ agents.
The instructions your agent loads, as published by Supabase.
Covered in the Weekly
by Supabase
Supabase's official Postgres skill — eight rule categories ranked by impact, each with wrong-vs-right SQL and EXPLAIN output, for schema, RLS, indexing and query work on Postgres anywhere.
Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.
by Google
Google's official Cloud SQL skill — create and connect MySQL, PostgreSQL and SQL Server instances with the right gcloud commands, Auth Proxy setup, HA and backup model.
by Google
Google's official AlloyDB for PostgreSQL skill — cluster and instance lifecycle from gcloud, plus hard rules on private connectivity, IAM database auth and backup behaviour.