概要
This skill equips Claude with specialized knowledge to architect professional-grade PostgreSQL databases. It moves beyond basic SQL by enforcing strict best practices such as utilizing BIGINT identity columns over serial types, implementing proper indexing for foreign keys, and choosing specialized data types like TIMESTAMPTZ and JSONB correctly. It provides expert guidance on advanced features including Row-Level Security (RLS), declarative partitioning for large datasets, and sophisticated indexing strategies like GIN and GiST. Whether you are building a new system or refactoring an existing one, this skill ensures your database is performant, maintainable, and avoids common 'gotchas' inherent in PostgreSQL.