prisma

Installation
SKILL.md

Prisma

Commands

Task Command
Create and apply a migration pnpm exec prisma migrate dev --name <migration-name>
Apply pending migrations (CI/prod) pnpm exec prisma migrate deploy
Check migration status pnpm exec prisma migrate status
Regenerate Prisma client pnpm exec prisma generate
Seed the database pnpm exec prisma db seed
Reset the database (dev only) pnpm exec prisma migrate reset
Open Prisma Studio pnpm exec prisma studio
Format the schema file pnpm exec prisma format

Default action: When asked to "apply a schema change", the correct sequence is: update prisma/schema.prisma → run prisma format → run migrate dev → run generate.

⚠️ migrate reset drops and recreates the entire database. Only use it in local development against a database you are comfortable losing. Never run it against a production or shared staging environment.

Related skills
Installs
10
First Seen
Apr 11, 2026