Supabase Postgres Best Practices

supabase/agent-skills

Review PostgreSQL queries, indexes, schema, security and connection management with Supabase-maintained guidance.

Latest update at:

View on GitHub
npx skills add supabase/agent-skills --skill supabase-postgres-best-practices
2,982Stars260ForksRepository last pushed

Install and use

  1. Install the Skill

    Run the official installation command in your project.

    npx skills add supabase/agent-skills --skill supabase-postgres-best-practices
  2. Give your agent a task

    Provide the relevant project context. For example:

    Review this PostgreSQL query and schema for likely index improvements; explain which execution plan evidence would validate your recommendation.

About this Skill

Review PostgreSQL queries, indexes, schema, security and connection management with Supabase-maintained guidance.

Why we picked it

A task-focused entry from the official Supabase Skill collection.

What it helps with

  • Analyze a slow query or a schema change using relevant SQL examples and database rules.

Before you use it

  • Provide the SQL, schema and workload; real performance conclusions require relevant query plans and measurements. Works with PostgreSQL outside Supabase too.

Sources & references

Original sources are linked below. Practical starting points are editorial suggestions from SkillHey.