Prisma'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.
Prisma ORM Setup Skill
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.
Install
Other ways to install
About
- Detects the app's Prisma version, provider and runtime before changing anything
- Defaults new apps to Prisma ORM 8 and loads its package-owned prisma-8 skill via prisma skills sync
- Keeps Prisma 6 and 7 apps on their major for setup and connection repair
- Provider references for PostgreSQL, MySQL, SQLite/Turso, SQL Server, CockroachDB, MongoDB and Prisma Postgres
- Loads the right environment files without printing secrets
- Verifies with a read-only query and reports the ORM version
Prisma ORM Setup is the skill in the prisma/skills repository that owns ORM version selection for setup and connection work. It replaces the older prisma-database-setup skill, which now only points here. It is for adding Prisma to an application, connecting its database, or fixing the connection of an existing Prisma 6, 7 or 8 app, and its guiding rule is to preserve the app's ORM version and intended database: a broken connection is not a reason for a major upgrade.
The agent first reads the package manifest, lockfile, Prisma configuration, schema and imports to work out the ORM version, database provider and runtime, noting that the CLI version alone does not tell you the app's version. A Prisma 8 app goes straight to loading its guidance. A new app defaults to Prisma ORM 8: the agent checks provider support and runtime requirements, pins a published Prisma 8 CLI, runs prisma orm init for the chosen target, then runs prisma skills sync and reads the synced prisma-8 skill that ships with the ORM package. Requested major upgrades go to dedicated upgrade skills, and Prisma Postgres provisioning to prisma-postgres-setup.
For earlier versions it keeps packages on their major and links bundled references for Prisma 7 on PostgreSQL, MySQL/MariaDB/PlanetScale, SQLite/Turso, SQL Server/Azure SQL, CockroachDB and Prisma Postgres, plus MongoDB on Prisma 6. The last step loads the right environment file for both CLI and app without printing secrets, diagnoses the connection before any schema-changing command, and verifies with a read-only query through the app's client, reporting the ORM version and the result. MIT licensed.
SKILL.md
The instructions your agent loads, as published by Prisma.
Related Skills
See all Prisma ORM Setup alternativesSkill: 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.
Firebase's official skill for building and deploying Firebase SQL Connect (formerly Data Connect) backends on Cloud SQL for PostgreSQL: GraphQL schemas, authorized queries and mutations, realtime updates and generated type-safe SDKs.