SQL Database Assistant

•
14
•

Streamlines database development by generating optimized SQL, managing migrations, and providing expert performance tuning for major engines and ORMs.

The SQL Database Assistant is a powerful operational companion designed to bridge the gap between application requirements and database performance. It excels at translating natural language into performant, dialect-aware SQL while providing specialized tools for schema introspection, EXPLAIN plan analysis, and zero-downtime migration planning. Whether you are working with raw PostgreSQL, MySQL, and SQLite or utilizing modern ORMs like Prisma and Drizzle, this skill provides the necessary patterns, index recommendations, and N+1 detection strategies to build scalable and reliable data layers.

主な機能

01Advanced query optimization using EXPLAIN analysis and static analysis tools
02Comprehensive support for popular ORMs like Prisma, Drizzle, TypeORM, and SQLAlchemy
03Automated schema introspection and documentation generation for live databases
04Zero-downtime migration generation with safe patterns and rollback strategies
0514 GitHub stars
06Natural Language to SQL translation for complex analytical queries and window functions

ユースケース

01Translating complex business logic into efficient SQL queries across different database dialects
02Auditing and refactoring legacy queries to resolve performance bottlenecks and N+1 issues
03Generating safe, multi-step migration scripts for production schema changes without service interruption