PostgreSQL Patterns & Optimization
Provides optimized PostgreSQL design patterns, indexing strategies, and security configurations based on Supabase best practices.
This skill equips Claude with expert-level PostgreSQL knowledge to help you design scalable schemas, write performant SQL queries, and implement robust security policies. It includes detailed guides on choosing the right index types, optimizing Row Level Security (RLS), managing connection pooling, and identifying common anti-patterns like unindexed foreign keys or table bloat. Whether you are building a new database from scratch or troubleshooting a slow production environment, this skill ensures your PostgreSQL implementation follows modern, production-grade standards.
主な機能
01Production-grade data type recommendations and usage patterns
0212 GitHub stars
03Row Level Security (RLS) implementation and performance optimization
04Optimized indexing cheat sheet for B-tree, GIN, BRIN, and Partial indexes
05Advanced SQL patterns for UPSERTs, cursor pagination, and queue processing
06Automated anti-pattern detection tools for identifying slow queries and bloat
ユースケース
01Designing a high-performance database schema for a new application
02Troubleshooting and optimizing slow SQL queries in an existing database
03Implementing secure, multi-tenant data access using Row Level Security