What problem does it solve? Prisma ORM projects frequently hit schema relation errors, failed migrations, N+1 query bottlenecks, and connection pool exhaustion, and this Skill provides structured playbooks to diagnose and resolve each category. ## Core Features & Use Cases - Schema Design Review: Validates relation definitions, indexes, enums, and field types with prioritized fixes from minimal to complete. - Migration Troubleshooting: Handles migration conflicts, failed production deployments, and shadow database issues using prisma migrate status, resolve, and deploy workflows. - Query Optimization: Detects N+1 problems and over-fetching, then applies include/select patterns or raw queries for complex aggregations. - Use Case: A production deploy fails because a migration left the database inconsistent. The Skill walks through checking migration status, resolving the failed migration with prisma migrate resolve, and establishing a safe deploy workflow. ## Quick Start Ask the assistant to diagnose why your Prisma queries are slow or why a migration failed, and it will detect your environment and apply the appropriate playbook.