Supabase postgres best practices

From baekenough/oh-my-customcode · View interactive version

Supabase postgres best practices is an AI agent skill from the GitHub repository baekenough/oh-my-customcode. PostgreSQL performance guidelines from Supabase. Apply when writing SQL, designing schemas, configuring RLS, or optimizing database performance.

How to use this skill

Skill file

Supabase PostgreSQL Best Practices

Source: https://github.com/supabase/agent-skills

Rule Categories (Prioritized by Impact)

| Priority | Category | Impact | Prefix |

|----------|----------|--------|--------|

| 1 | Query Performance | CRITICAL | query- |

| 2 | Connection Management | CRITICAL | conn- |

| 3 | Security & RLS | CRITICAL | security- |

| 4 | Schema Design | HIGH | schema- |

| 5 | Concurrency & Locking | MEDIUM-HIGH | lock- |

| 6 | Data Access Patterns | MEDIUM | data- |

| 7 | Monitoring & Diagnostics | LOW-MEDIUM | monitor- |

| 8 | Advanced Features | LOW | advanced- |

1. Query Performance (CRITICAL)

2. Connection Management (CRITICAL)

3. Security & RLS (CRITICAL)

4. Schema Design (HIGH)

5. Concurrency & Locking (MEDIUM-HIGH)

6. Data Access Patterns (MEDIUM)

7. Monitoring & Diagnostics (LOW-MEDIUM)

8. Advanced Features (LOW)

References

For detailed rule files with specific examples, see templates/guides/supabase-postgres/.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.