.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/agent-skills/supabase-postgres-best-practices
home/skills/supabase/agent-skills/supabase-postgres-best-practices
supabase avatar

supabase-postgres-best-practices

bysupabase· 17 skills

Installs

313k

Stars

2.4k

Forks

175

Category

Databases

View on GitHub

TL;DR

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

How to install supabase-postgres-best-practices?

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

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/supabase/agent-skills" --skill "supabase/agent-skills/supabase-postgres-best-practices"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/supabase/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/supabase/agent-skills"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1# Supabase Postgres Best Practices
2 
3Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.
4 
5## When to Apply
6 
7Reference these guidelines when:
8- Writing SQL queries or designing schemas
9- Implementing indexes or query optimization
10- Reviewing database performance issues
11- Configuring connection pooling or scaling
12- Optimizing for Postgres-specific features
13- Working with Row-Level Security (RLS)
14 
15## Rule Categories by Priority
16 
17| Priority | Category | Impact | Prefix |
18|----------|----------|--------|--------|
19| 1 | Query Performance | CRITICAL | `query-` |
20| 2 | Connection Management | CRITICAL | `conn-` |
21| 3 | Security & RLS | CRITICAL | `security-` |
22| 4 | Schema Design | HIGH | `schema-` |
23| 5 | Concurrency & Locking | MEDIUM-HIGH | `lock-` |
24| 6 | Data Access Patterns | MEDIUM | `data-` |
25| 7 | Monitoring & Diagnostics | LOW-MEDIUM | `monitor-` |
26| 8 | Advanced Features | LOW | `advanced-` |
27 
28## How to Use
29 
30Read individual rule files for detailed explanations and SQL examples:
31 
32```
33references/query-missing-indexes.md
34references/query-partial-indexes.md
35references/_sections.md
36```
37 
38Each rule file contains:
39- Brief explanation of why it matters
40- Incorrect SQL example with explanation
41- Correct SQL example with explanation
42- Optional EXPLAIN output or metrics
43- Additional context and references
44- Supabase-specific notes (when applicable)
45 
46## References
47 
48- https://www.postgresql.org/docs/current/
49- https://supabase.com/docs
50- https://wiki.postgresql.org/wiki/Performance_Optimization
51- https://supabase.com/docs/guides/database/overview
52- https://supabase.com/docs/guides/auth/row-level-security

Security

Passed

  • Gen Agent Trust Hubpass
  • Socketpass
  • Snykpass
  • Runlayerpass
  • ZeroLeakspass

Preview

supabase/agent-skillssupabase/agent-skills

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

▸ installing to .claude/skills…

✓ supabase-postgres-best-practices ready

Reposupabase/agent-skills
TypeSkills
CategoryDatabases
ForDeveloperOps
UpdatedJul 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. firebase avatarfirebase-data-connect-basicsBuilds and deploys Firebase SQL Connect (aka Firebase Data Connect) backends with PostgreSQL securely.SkillsJul 2026111k389
  2. firebase avatarfirebase-firestoreSets up, manages, queries, and configures Cloud Firestore databases (Standard/Enterprise edition), including data modeling, security rules, indexes, and SDK…SkillsJul 202677k389
  3. prisma avatarprisma-database-setupGuides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.).SkillsJul 202674k47
  4. prisma avatarprisma-client-apiPrisma Client API reference covering model queries, filters, operators, and client methods.SkillsJul 202673k47
  5. prisma avatarprisma-cliPrisma ORM CLI commands reference covering init, generate, migrate, db, dev, studio, validate, format, debug, and mcp.SkillsJul 202671k47
  6. prisma avatarprisma-postgresPrisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.SkillsJul 202668k47