What problem does it solve? Choosing and implementing a relational database stack involves many decisions—engine selection, ORM versus query builder, migration safety, and connection pooling—and mistakes lead to downtime, slow queries, or SQL injection vulnerabilities. This Skill provides decision trees, multi-language implementation patterns, and production-grade practices for PostgreSQL, MySQL, and SQLite. ## Core Features & Use Cases - Database and ORM Selection: Decision trees for PostgreSQL, MySQL, SQLite, and serverless options (Neon, PlanetScale, Turso), plus ORM comparisons across SQLAlchemy, Prisma, Drizzle, SQLx, SeaORM, GORM, and sqlc. - Safe Migration Patterns: Multi-phase deployment templates for adding, dropping, and renaming columns, plus concurrent index creation, with a generator script for common migration operations. - Connection Pooling Guidance: Pool sizing formulas and configuration examples for web APIs, serverless functions, and background workers, including pgBouncer setup. - Use Case: Building a FastAPI backend with user authentication and posts—use this Skill to select SQLModel, generate an initial schema migration, configure a 20-connection pool, and set up Alembic for schema evolution. ## Quick Start Ask the AI to set up a PostgreSQL database layer with an ORM, migrations, and connection pooling for your chosen language and framework.