What problem does it solve?
It prevents slow, brittle, and error-prone database implementations by standardizing query patterns, indexing, migrations, and timezone handling to match what a precise spec expects.
Core Features & Use Cases
- Reliable query and modeling rules: Prefer CTEs, use PostgreSQL JSONB correctly, and separate relational data from JSON storage.
- Performance-first guidance: Use an EXPLAIN ANALYZE workflow and choose appropriate index types for equality, ranges, full-text, JSONB, and arrays.
- Migration safety standards: Enforce one-change-per-migration, reversibility, pre-testing, and never editing deployed migrations.
- Use Case: When an AI spec includes database operations (models, queries, migrations, analytics), load these rules to produce implementations that are safer and easier to verify.
Quick Start
Load the database skill when your spec includes PostgreSQL queries, migrations, or data modeling so your AI implementation follows consistent patterns and includes EXPLAIN-based performance checks.