What problem does it solve? Prisma 8 (formerly Prisma Next) introduces a contract-first data layer that differs fundamentally from Prisma 7, and most training data about it is outdated. This Skill ships inside the installed Prisma packages and routes every Prisma 8 task to version-accurate reference documentation, preventing agents from applying stale Prisma 7 patterns that would break a Prisma 8 project. ## Core Features & Use Cases - Task routing to verified references: A routing table maps tasks (contract editing, migration authoring, query writing, runtime wiring, build integration, Supabase/RLS, debugging, upgrades, feedback) to dedicated reference files that carry the exact API surface of the installed version. - Contract-first workflow guidance: Covers editing contract.prisma or contract.ts, running prisma contract emit, planning and applying migrations, writing db.orm / db.sql queries, and wiring db.ts with middleware. - Structured error debugging: Teaches agents to read CLI and runtime error envelopes, route on dotted codes like MIGRATION.HASH_MISMATCH or BUDGET.TIME_EXCEEDED, and chain to the correct fix workflow. - Use Case: A developer asks how to add a pgvector embedding column to their Prisma 8 app. The Skill routes to the contract reference, which shows registering the pgvector extension descriptor in prisma.config.ts and declaring pgvector.Vector(length: 1536) in the contract source. ## Quick Start Ask the assistant to help with any Prisma 8 task, such as adding a model to your data contract or planning a migration, and it will open the matching reference file before writing code.