prisma-workflow
Installation
SKILL.md
Prisma Workflow (v7 Protocol)
Purpose
To execute a zero-tolerance, type-safe integration of Prisma 7 with Next.js, strictly adhering to the "Prisma Postgres" adapter pattern.
Critical Directives
You are strictly forbidden from guessing configuration. You must consult the reference files for every step.
- Version 7 Only: If you generate
provider = "prisma-client-js", you have failed. - No Hallucinations: Do not invent
DATABASE_URLvalues. - Interactive Init: You cannot run
npx prisma inityourself. You must guide the user.
Workflow Phases
Phase 1: Bootstrap & Configuration
Reference: references/setup-protocol.md
- Action: Guide user through the interactive
npx prisma init --db. - Constraint: Wait for user confirmation. Do not proceed until
.envexists. - Verification: Check
prisma.config.tsfordotenv/configand Ensureschema.prismahas NOurlin the datasource.