supabase-postgres-best-practices

Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron,...

Publisher type
Official
Repository
supabase/agent-skills
Skill
supabase-postgres-best-practices
GitHub repository stars
2,598
npx skills add https://github.com/supabase/agent-skills --skill supabase-postgres-best-practices

Agent skills can contain instructions that call tools or modify files. Review the source and permissions before installation.

What this resource does

supabase-postgres-best-practices is a reusable AI-agent instruction package published by Supabase. It gives a compatible agent a repeatable procedure for work in this area: Data and backend.

Best for

  • Founders and teams using an AI coding or work agent for tasks in this area: Data and backend.
  • Repeatable work that matches this capability: Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron,...
  • Users who want a publisher-defined workflow they can inspect before running.

What to prepare

  • A compatible AI agent that supports Agent Skills.
  • Access to the project or files the task will use.
  • Any provider accounts, command-line tools, or credentials requested by the skill.
  • A safe branch or backup when the skill may modify files.

How to use it

  1. Open the original repository and review SKILL.md, referenced files, scripts, and requested permissions.
  2. Copy the install command and run it from the workspace where you want to use supabase-postgres-best-practices.
  3. Reload or restart the agent if it does not discover the new skill immediately.
  4. Give the agent a concrete task in this area: Data and backend. Explicitly name supabase-postgres-best-practices when you want to require its use.
  5. Review the proposed actions and output before approving file changes, shell commands, credentials, or external writes.

Example request

Use the supabase-postgres-best-practices skill for this task. First inspect the available context, explain the proposed approach, and wait for approval before any sensitive or destructive action.

Before you continue: Publisher category: Official. Publication in this catalog is not a security guarantee. Review the current repository before installation.

Source and review

Source check: 2026-09-05.

Supabase