What the tech

Search

/ opens search from anywhere. Esc closes it.

Tools

Get the newsletter

supabase-postgres-best-practices: a Claude Code skill by Supabase

Official

For developers writing SQL, schemas or row level security policies on any Postgres database. Skip it if you never touch the database layer yourself.

Score
91of 100
Rank
#6of 239
Installs
482Kon skills.sh
Security
Clear 5 scanners
Updated
2026
Context
~216tokens always

Install

npx skills add https://github.com/supabase/agent-skills --skill supabase-postgres-best-practices

Run it in your terminal. View the source

Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app

What does supabase-postgres-best-practices do?

supabase-postgres-best-practices is a Claude skill that gives Claude a rule book for Postgres work, kept by Supabase but meant for Postgres running anywhere. The rules sit in eight categories ranked by impact: query performance, connection management, and security with row level security come first, then schema design, locking, data access patterns, monitoring and advanced features. Each rule lives in its own reference file with a short reason, a wrong SQL example, a corrected one, and sometimes EXPLAIN output or Supabase notes. Claude reads the matching rule files before it writes a query, adds an index, changes a table, writes a migration or chases a slow query.

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

Use it when

  • Adding a table, column or index to Postgres
  • A query is slow and the EXPLAIN plan is unclear
  • Writing or testing row level security policies

Skip it when

  • Your database is not Postgres
  • You never write SQL or migrations yourself

What it needs and what it can touch

You need

  • A Postgres database, on Supabase or any other host

From reading its instructions, not from running it.

Why it scores 91

Strongest on upkeep (100 of 100), weakest on adoption (77).

  • Adoption35 points 77
  • Upkeep20 points 100
  • Trust20 points 100
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

Is supabase-postgres-best-practices safe to install?

Every scanner that checked it passed it. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.

ScannerResultDate
Gen Agent Trust HubPassedSep 15, 2026
SocketPassedSep 15, 2026
SnykLow riskSep 15, 2026
RunlayerLow riskFeb 26, 2026
ZeroLeaksPassedApr 16, 2026

Details

Installs
482,400
Repository stars
3,040
Last repository change
Tokens always loaded
about 216
Tokens when used
about 441
License
MIT
Data confidence
High

Alternatives to supabase-postgres-best-practices

All skills for this job
  • Prisma

    For TypeScript developers on Prisma ORM who want correct queries, CLI commands and database setup.

    Score 87 424K installs Official

    Get Prisma
  • neon-postgres

    For developers whose Postgres runs on Neon and who want help with connection strings, branches and slow queries.

    Score 86 309K installs Official

    Get neon-postgres
  • supabase

    For developers building on Supabase who want auth, RLS and migrations handled with care.

    Score 88 363K installs Official

    Get supabase
  • clickhouse-best-practices

    For teams designing or reviewing ClickHouse tables, queries and inserts against the vendor's own rules.

    Score 76 22.9K installs Official

    Get clickhouse-best-practices