What problem does it solve? Database schema changes can silently destroy production data through dropped columns, unsafe type narrowing, or non-nullable columns added without backfills. This Skill inspects Prisma schemas, migration history, seed scripts, and data-access code to flag destructive operations as blocking before they reach staging or production. ## Core Features & Use Cases - Migration Safety Review: Classifies every migration statement as safe, unsafe, or destructive, detects drift with prisma migrate status, and enforces expand-contract patterns for breaking changes. - Query Pattern Analysis: Detects N+1 query loops, unbounded findMany() calls, missing foreign-key indexes, and upserts lacking unique constraints. - Seed & Fixture Auditing: Verifies seed idempotency (upsert over create), deterministic test data, and environment guards preventing resets against shared databases. - Use Case: Before merging a PR that edits schema.prisma, run this review to catch a column rename that Prisma would treat as drop-plus-add, and receive a hand-written RENAME COLUMN migration as the safe alternative. ## Quick Start Review my schema.prisma file and the latest migration in prisma/migrations for any destructive changes or data-loss risks before I deploy.