What problem does it solve?
Prevents common Prisma and database mistakes by providing schema-first design, safe migration practices, efficient query patterns, and connection management guidance so projects avoid data integrity issues, connection leaks, and performance regressions.
Core Features & Use Cases
- Schema-first guidance: Advise on model design, type-safety, naming conventions, and snake_case mapping for production databases.
- Relations, indexes & performance: Recommend explicit @relation declarations, @@index usage for queried columns, and index strategies for joins and ordering.
- Client & runtime patterns: Provide singleton PrismaClient patterns to avoid connection leaks, pagination and transaction patterns, and serverless connection pooling recommendations.
- Migrations, seeding & deployments: Outline migration workflows, seed script expectations, and what to commit for production-ready migrations.
- Use Case: Audit a Node.js/TypeScript fullstack app to make Prisma schemas production-ready, add missing indexes, implement safe deletes, and supply migration and client code changes.
Quick Start
Review my Prisma schema and recommend indexes, relation annotations, migration steps, and Prisma Client usage to make the project production-ready.