# Supabase Postgres Best Practices (agent skill)

> Supabase Postgres Best Practices is an agent skill (a SKILL.md file) from supabase/agent-skills. Postgres best practices maintained by Supabase, for Postgres running anywhere. It works with Claude Code, Cursor and GitHub Copilot and has 2,704 GitHub stars across a repository of 2 listed skills.

Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pgcron, pgmq), vector/semantic search (pgvector), and restoring dumps (pgrestore) or…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/supabase/agent-skills |
| Skill path | skills/supabase-postgres-best-practices/SKILL.md |
| Skill name | supabase-postgres-best-practices |
| GitHub stars | 2,704 |
| Installs on skills.sh | 433,361 |
| License | MIT |
| Skills in repo | 2 |
| Plugin marketplace | supabase-agent-skills |
| Official | yes |
| Works with | Claude Code, Cursor, GitHub Copilot |
| Category | Data & analysis |
| Last commit | Oct 2, 2026 |

## Add this skill

### Claude Code

```sh
/plugin marketplace add supabase/agent-skills
/plugin   # browse supabase-agent-skills and install the plugin that contains supabase-postgres-best-practices
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/supabase/agent-skills.git
cp -r agent-skills/skills/supabase-postgres-best-practices .agents/skills/supabase-postgres-best-practices   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/supabase/agent-skills.git
cp -r agent-skills/skills/supabase-postgres-best-practices .cursor/skills/supabase-postgres-best-practices   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/supabase/agent-skills/supabase-postgres-best-practices

---

Canonical page: https://appsgit.com/skills/supabase-postgres-best-practices
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
