Prisma's official skill for setting up Prisma ORM or repairing an app's database connection: it detects the app's Prisma version, defaults new apps to Prisma 8 and its package-owned skill, and keeps Prisma 6 and 7 apps on their own major.
Prisma CLI Skill
Prisma's official command reference for Prisma ORM 7: init, generate, migrate, db, dev, studio and mcp, with a safety checkpoint before destructive commands.
Install
Other ways to install
About
- Command reference for Prisma ORM 7: init, generate, dev, db, migrate, studio, mcp
- Uses the project's version-matched CLI instead of prisma@latest
- Local Prisma Postgres development database commands
- prisma.config.ts configuration and explicit environment loading
- Consent checkpoint before migrate reset and data-loss db push
- Per-command rule files ranked by priority
Prisma CLI is Prisma's official agent skill for the prisma command line in Prisma ORM 7 projects, published in the prisma/skills repository. It tells a coding agent which command fits each job and how to run it with the project's own version-matched CLI rather than a floating prisma@latest. For a new setup, connection problems or Prisma 8 it points to the separate Prisma ORM Setup skill, and it warns against confusing the ORM CLI with the beta Prisma Platform package.
The reference covers project setup (prisma init with a datasource provider, --db for Prisma Postgres, --with-model), client generation including watch mode, the local Prisma Postgres development database (prisma dev, detached instances, list, stop and remove), direct database operations (db pull, db push, db seed, db execute), development and production migrations (migrate dev, deploy, status, diff, reset), and utilities such as Studio, the Prisma MCP server, validate, format and debug. It explains the prisma.config.ts configuration file, explicit environment loading with dotenv, the need to run generate and db seed explicitly after schema syncs, and the --bun flag for Bun.
Its AI safety checkpoint matters most: Prisma blocks migrate reset, db push --force-reset and db push --accept-data-loss when it detects an agent until the user gives explicit consent, and the skill tells the agent to explain the data loss and ask immediately before, never to infer consent. Detailed rule files cover each command. MIT licensed, version 7.9.1.
SKILL.md
The instructions your agent loads, as published by Prisma.
Related Skills
See all Prisma CLI alternativesPrisma's official Prisma Client reference skill: client setup with driver adapters, CRUD and bulk queries, select/include/omit, filters, relation reads and nested writes, transactions and safe raw SQL.
Skill: Prisma 7 Upgrade Guide
by Prisma
Prisma's official skill for migrating an ORM project from v6 to v7 - the prisma-client generator, driver adapters, prisma.config.ts, ESM entrypoints and every removed API.
Prisma's official skill for getting an app a Prisma Postgres database: reuse an existing connection, use the Vercel Marketplace flow, spin up a no-account database with npx create-db, or provision a persistent one, then connect and verify it.