Supabase Postgres Best Practices Claude Skill
The Supabase Postgres Best Practices Claude skill sits in a repo last updated on 2026-10-02. Postgres best practices maintained by Supabase, for Postgres running anywhere.
See all 2 skills by Supabase in supabase/agent-skills.
What It Does
Postgres best practices maintained by Supabase, for Postgres running anywhere. Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.
This quote comes from the skill's SKILL.md.
When To Use It
- Writing SQL queries or designing schemas
- Implementing indexes or query optimization
- Reviewing database performance issues
- Configuring connection pooling or scaling
- Optimizing for Postgres-specific features
- Working with Row-Level Security (RLS)
Install
git clone --depth 1 https://github.com/supabase/agent-skills.git /tmp/agent-skills mkdir -p ~/.claude/skills/ cp -r /tmp/agent-skills/skills/supabase-postgres-best-practices ~/.claude/skills/supabase-postgres-best-practices
The command copies the skill from the author's repo. SkillTrove does not host it.
Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.
Files
- CHANGELOG.md (5.6 KB)
- SKILL.md (3.2 KB)
- references/_contributing.md (4.0 KB)
- references/_sections.md (1.6 KB)
- references/_template.md (1.0 KB)
- references/advanced-full-text-search.md (1.4 KB)
- references/advanced-jsonb-indexing.md (1.4 KB)
- references/conn-idle-timeout.md (1.3 KB)
- references/conn-limits.md (1.3 KB)
- references/conn-pooling.md (1.3 KB)
- references/conn-prepared-statements.md (1.5 KB)
- references/data-batch-inserts.md (1.3 KB)
- references/data-n-plus-one.md (1.3 KB)
- references/data-pagination.md (1.3 KB)
- references/data-upsert.md (1.4 KB)
- references/lock-advisory.md (1.5 KB)
- references/lock-deadlock-prevention.md (1.8 KB)
- references/lock-short-transactions.md (1.3 KB)
- references/lock-skip-locked.md (1.3 KB)
- references/monitor-explain-analyze.md (1.4 KB)
- references/monitor-pg-stat-statements.md (1.4 KB)
- references/monitor-vacuum-analyze.md (1.5 KB)
- references/query-composite-indexes.md (1.4 KB)
- references/query-covering-indexes.md (1.3 KB)
- references/query-index-types.md (1.5 KB)
- references/query-missing-indexes.md (1.2 KB)
- references/query-partial-indexes.md (1.3 KB)
- references/schema-constraints.md (1.8 KB)
- references/schema-data-types.md (1.4 KB)
- references/schema-foreign-key-indexes.md (1.6 KB)
We last checked this skill against its source on 2026-10-13.
Questions
How Do I Install This Skill?
Copy the skills/supabase-postgres-best-practices folder from https://github.com/supabase/agent-skills into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/supabase-postgres-best-practices. The install block on this page has the full commands for each agent.
What License Does This Skill Use?
The license listed for this skill is MIT. Read the license in the source repo before you reuse it.
Where Is The Source For This Skill?
The source is on GitHub at https://github.com/supabase/agent-skills/tree/main/skills/supabase-postgres-best-practices. It is part of the supabase/agent-skills repo.
Related Skills
Vercel React Best Practices
The vercel-react-best-practices guide holds 70 rules from Vercel for faster React and Next.js code. Those rules sit in 8 groups, ranked by impact. At the top...
Vercel React Native Skills
The vercel-react-native-skills guide is a set of rules from Vercel for React Native and Expo apps. The rules sit in 8 groups, ranked by how much they help. F...
A11y Audit
Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML ...
Clinical Research
Use when designing a prospective clinical study before submission - selecting and classifying endpoints (primary / key-secondary / exploratory, with surrog...
Partnerships Architect
Use when a startup is approached by a prospective partner and someone has to decide should we sign this partner, at what partner tier (referral / reseller / ...
Pricing Strategist
Use when designing or revisiting product pricing - selecting a pricing model (subscription seat-based, usage-based, value-based, freemium, or hybrid), runn...