supabase-postgres-best-practices

Identify and fix PostgreSQL performance bottlenecks in Supabase deployments.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/eKoh951/hytale-gg --skill supabase-postgres-best-practices-ekoh951
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-postgres-best-practices
Source: https://github.com/eKoh951/hytale-gg/tree/main/.windsurf/skills/supabase-postgres-best-practices
Command: npx skills add https://github.com/eKoh951/hytale-gg --skill supabase-postgres-best-practices-ekoh951

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Postgres performance optimization and best practices for Supabase deployments, helping teams diagnose and fix bottlenecks across queries, schemas, and configurations.

Core Features & Use Cases

  • Prioritized rule catalog: rules across 8 categories (query performance, connection management, security & RLS, schema design, concurrency, data access, monitoring, advanced features) to guide improvements.
  • On-demand references: a comprehensive set of reference files to deepen understanding and guide implementation.
  • Production-ready guidance: actionable patterns for indexing, vacuuming, partitioning, and safe schema changes in live databases.

Quick Start

Read the SKILL.md and start applying the Supabase Postgres best-practices to your project.

Frequently Asked Questions about supabase-postgres-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix PostgreSQL performance bottlenecks in Supabase?

To fix PostgreSQL performance bottlenecks in Supabase, apply an eight-category rule catalog covering query tuning, indexing, partitioning, vacuuming, and RLS optimization across production databases.

What are the best practices for Supabase RLS and Postgres indexing?

Best practices for Supabase RLS and Postgres indexing involve applying security-conscious defaults and actionable patterns from the rule catalog to optimize data access and improve query performance.

How does database partitioning improve query performance in Supabase?

Database partitioning improves query performance in Supabase by distributing large tables into smaller, manageable segments, guided by production-ready schema design patterns and safety-conscious defaults.

Can I use these Postgres guidelines for safe schema changes in production databases?

Yes, you can use these Postgres guidelines for safe schema changes in production databases because they provide actionable patterns and safety-conscious defaults to guide automated improvements.

When do I need to run vacuuming and connection management for Supabase Postgres?

You need to run vacuuming and connection management for Supabase Postgres when diagnosing bottlenecks, utilizing the concurrency and monitoring rules to maintain production database health.

Why does my Supabase Postgres query have slow performance despite indexes?

Slow Supabase Postgres query performance despite indexes often stems from unoptimized RLS policies or schema design, requiring query tuning and data access rules from the catalog to resolve.