What problem does it solve?
This Skill removes the friction of working directly with databases by helping you write correct queries, diagnose slow performance, plan safe schema changes, and translate database tasks into ORM-friendly workflows.
Core Features & Use Cases
- Query Writing: Turn natural language requirements into performant SQL for reporting, filtering, joins, aggregations, and pagination.
- Performance Optimization: Review query structure, spot indexing opportunities, and reason about execution plans to reduce latency.
- Migration Support: Generate reversible schema changes and safer rollout steps for adding columns, renaming fields, creating indexes, and changing types.
- ORM Guidance: Work smoothly with Prisma, Drizzle, TypeORM, and SQLAlchemy when you need query builder patterns, raw SQL escape hatches, or migration workflows.
- Use Case: A developer can ask for a query that finds recent paid orders, the indexes it should use, and the migration needed to support the reporting endpoint.
Quick Start
Use the sql-database-assistant skill to generate an optimized query, explain the database strategy, and suggest any safe migration or ORM changes needed for my request.