Engineering Source verified
supabase-postgres-best-practices

Supabase Postgres Best Practices agent skill

Review Postgres schemas, queries, and migrations using Supabase guidance on performance and data access.

Profile reviewed by the Vibe Coding Editorial Team · Updated 2026-11-18

Installation

Review the source, then run the command

Agent Skills CLI
npx skills add supabase/agent-skills --skill supabase-postgres-best-practices

Requires Node.js 22.20 or later, a supported agent, and relevant schema or query files.

Best for

  • Reviewing a migration before merging
  • Diagnosing a slow query with a representative plan
  • Checking indexes and row-level access on a new schema

What it adds

  • Supplies Postgres rules for indexing, queries, connections, and schema design.
  • Helps connect a rule to a specific migration or query.
Typical workflow
  1. 01Provide the schema, query, expected row counts, and measured behavior.
  2. 02Identify the applicable rules and propose the smallest change.
  3. 03Compare plans and verify permissions and results on a representative development database.
Review before use

Skills are instructions with consequences

  • Verify each recommendation against your query plan and data distribution.
  • Check write costs and access behavior before applying schema changes.

Try asking

“Use this skill to review the open-jobs query and its migration. Explain the proposed index and what to measure on staging.”

Primary source

Read the original before installing

This page is an independent editorial profile, not a mirror of the skill. The publisher’s repository remains the source of truth for files, license terms, changes, and installation support.

Supabase Agent Skills

Supabase · MIT · reviewed 2026-11-18

View the upstream skill on GitHub.

Supabase Postgres Best Practices FAQ

Questions before installation

Check fit, compatibility, prerequisites, permissions, and source ownership before adding this skill to a coding agent.

What does the Supabase Postgres Best Practices agent skill do?

Review Postgres schemas, queries, and migrations using Supabase guidance on performance and data access. Its main capabilities include supplies postgres rules for indexing, queries, connections, and schema design; helps connect a rule to a specific migration or query.

When should I use supabase-postgres-best-practices?

Use it for reviewing a migration before merging, diagnosing a slow query with a representative plan, checking indexes and row-level access on a new schema. A skill is most useful when this is a recurring workflow and its instructions improve results compared with a normal one-off prompt.

Which coding agents are compatible with supabase-postgres-best-practices?

The current profile lists Claude Code, Cursor, GitHub Copilot. Skill support changes quickly, so confirm the latest installation directory, discovery behavior, and tool permissions in your agent’s documentation before installing.

What do I need before installing this skill?

You need Node.js 22.20 or later, a supported agent, and relevant schema or query files. The listed command uses Agent Skills CLI; inspect the exact source directory and its bundled files before running it.

Can this skill run commands or change files?

A skill supplies instructions and resources to an agent. Whether it can run commands, edit files, browse, or call external services depends on the tools and permissions available to that agent. Review requested actions at runtime and keep sensitive operations approval-gated.

Is this skill maintained by Vibe Coding?

No. Supabase publishes the original skill. Vibe Coding provides an independent profile and source link, reviewed on 2026-11-18, but the upstream repository remains the source of truth for updates, support, and license terms.

Install with context

Inspect the source, then test the skill on a real task.

Use a disposable branch or workspace, compare the result with and without the skill, and keep it only when the workflow becomes more reliable.

npx skills add supabase/agent-skills --skill supabase-postgres-best-practices

Related skills