PostgreSQL Schema Architect

•
32k
•

Designs optimized PostgreSQL-specific database schemas using best practices for indexing, data types, and high-performance patterns.

This skill empowers Claude to act as a senior database architect specializing in PostgreSQL. It provides comprehensive guidance on designing robust schemas, selecting precise data types (such as BIGINT Identity and TIMESTAMPTZ), and implementing advanced features like Row-Level Security (RLS) and declarative partitioning. By enforcing standards like 3NF normalization and manual foreign key indexing, it helps developers build scalable, maintainable architectures while avoiding common pitfalls like case-sensitive identifiers, inefficient storage types, and MVCC-related bloat.

주요 기능

01Identification of common PostgreSQL 'gotchas' like identifier casing and NULL handling
02Enforcement of best practices for normalization, constraints, and migration safety
03Advanced performance patterns for partitioning, Row-Level Security (RLS), and TOAST storage
04PostgreSQL-specific data type selection including JSONB, Identity columns, and Range types
0531,721 GitHub stars
06Comprehensive indexing strategies covering B-tree, GIN, GiST, BRIN, and Partial indexes

사용 사례

01Implementing complex access control logic using native Row-Level Security
02Architecting production-ready database schemas for high-scale applications
03Refactoring existing tables to improve performance and data integrity