PostgreSQL Development Patterns
Enforces transaction safety, strict typing, and naming conventions for PostgreSQL to prevent data corruption and runtime errors.
This skill provides a comprehensive set of standards for PostgreSQL development, focusing on high-integrity data management and architectural consistency. It implements a strict naming convention for transaction handling (the TX_ prefix rule), ensures type safety for complex types like ULIDs and JSONB, and enforces a clear separation between read and write operations at the type level. By using this skill, developers can maintain consistent database schemas, prevent floating-point errors in financial data, and ensure that all multi-step operations are wrapped in safe, predictable transactions.
Características Principales
01Mandatory schema typing for JSONB columns to eliminate runtime errors
02Strict TX_ naming convention for explicit transaction management
035 GitHub stars
04Exact decimal type requirements for high-precision financial data
05ULID primary key enforcement for security and indexing efficiency
06Standardized snake_case database naming with proactive indexing rules
Casos de Uso
01Implementing complex financial logic requiring exact decimal precision
02Refactoring database access layers to improve type safety and transaction reliability
03Architecting new relational schemas with production-grade safety standards