prisma-next-quickstart
Installation
SKILL.md
Prisma Next — Quickstart (Adoption)
Edit your data contract. Prisma handles the rest.
This skill takes the user from zero (or near-zero) to a first working query against Prisma Next. Three paths — and they all converge on the same first arc: connect → write → read. Schema editing comes after the first arc, not before.
- First-touch orientation — the user has arrived at a Prisma Next project for the first time (a scaffold tool like
npx createprismadropped them in, they cloned a teammate's repo, or they ranprisma-next initthemselves and now want to make their first move) and they're asking "what can I do with Prisma Next?", "where do I start?", or "what's next?". The goal is to anchor them on the contract, get them connected to a database, round-trip one row, and let further commands surface organically. - Greenfield — new project, fresh database. User runs
prisma-next initthemselves.initseeds a starter contract with a sample model, so the path joins the first-touch orientation arc as soon as the database is initialised. - Brownfield-DB — existing database, no contract yet. Infer the contract from the database with
contract infer, sign the marker withdb sign, then write queries against one of the existing tables.
This skill does not cover migrating from another ORM (Drizzle, Prisma 6/7, Sequelize, TypeORM, Kysely, Knex, raw drivers). Those are separately-installable skills.