Supabase Postgres Best Practices

•
67
•

Optimizes PostgreSQL performance and schema design using production-ready patterns and Supabase-recommended database rules.

This skill empowers Claude with specialized knowledge in PostgreSQL optimization and Supabase-specific best practices to enhance database performance, security, and scalability. It covers a comprehensive range of database lifecycle tasks, including writing high-performance SQL queries, designing efficient schemas with partial indexes, and implementing robust Row-Level Security (RLS) policies. By referencing categorized rules prioritized by impact, this skill helps developers automate the detection of missing indexes, resolve connection pooling bottlenecks, and prevent common concurrency issues in production environments.

主要功能

01Production-grade Row-Level Security (RLS) implementation patterns
02Critical query performance optimization and missing index detection
03Advanced schema design including partial and expression indexes
04Efficient database connection management and pooling strategies
05Automated query plan analysis and performance metric evaluation
0667 GitHub stars

使用场景

01Refactoring slow SQL queries to improve execution speed and reduce resource load
02Implementing secure data access layers using optimized Postgres RLS policies
03Auditing database schemas for performance bottlenecks and security vulnerabilities