What problem does it solve?
This Skill provides comprehensive guidelines and best practices for writing clean, efficient, and maintainable SQL code, ensuring consistency and quality in database interactions.
Core Features & Use Cases
- Standardized Naming Conventions: Enforces consistent naming for tables, columns, and other database objects.
- Data Type Recommendations: Guides on choosing appropriate data types for optimal storage and performance.
- Migration Best Practices: Defines file naming and structure for database schema migrations.
- Query Optimization: Offers advice on formatting, aliasing, indexing, and performance tuning.
- Use Case: Ensure all new database schemas adhere to
snake_case for identifiers and use TIMESTAMP WITH TIME ZONE for all temporal data, preventing common data integrity and performance issues.
Quick Start
Follow the SQL workflow guidelines to format the provided SQL query.