Agent skill · software engineering · aiskillstore
prisma-upgrade-v7
Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or migrating existing projects. Triggers on "upgrade to prisma 7", "prisma 7 migration", "prisma-client generator", "driver adapter required".
Why this skill is useful
Provides specific migration steps and commands for upgrading from Prisma v6 to v7 that the AI wouldn't reliably generate on its own.
What it needs
Requires npm installed locally. About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Upgrade to Prisma ORM 7 Complete guide for migrating from Prisma ORM v6 to v7. This upgrade introduces significant breaking changes around the new prisma-client generator, driver adapters, prisma.config.ts, explicit environment loading, and generated client entrypoints. When to Apply Reference this skill when: Upgrading from Prisma v6 to v7 Updating to the prisma-client generator Setting up driver adapters Configuring prisma.config.ts Fixing import errors after upgrade Rule Categories by Priority Priority Category Impact Prefix ---------- ---------- -------- -------- 1 Schema Migration CRITICAL schema-changes 2 Database Connectivity CRITICAL driver-adapters 3 Module System CRITICAL esm-support 4 Config and Env HIGH prisma-config, env-variables 5 Removed Features HIGH removed-features 6 Accelerate HIGH accelerate-users Quick Reference schema-changes - generator migration, required output paths, generated entrypoints, and Prisma.validator replacement driver-adapters - required adapter installation for SQL providers, pool differences, and Prisma Postgres adapter choices esm-support - ESM-first setup plus CommonJS fallback with moduleFormat = "cjs" prisma-config - creating and using prisma.config.ts env-variables - explicit environment loading removed-features - removed middleware, metrics, and legacy CLI behavior accelerate-users - migration notes for Accelerate users Using MongoDB? This guide does not apply Prisma 7 has no MongoDB connector. Do not apply any step in this guide to a project with provider = "mongodb" — see the prisma-mongodb-upgrade skill for the actual decision (stay on v6 deliberately vs migrate to Prisma Next). Important Notes MongoDB projects should stay on Prisma 6.x or migrate to Prisma Next - do not migrate MongoDB apps to Prisma 7's SQL client path (see prisma-mongodb-upgrade) Node.js 20.19.0+ required TypeScript 5.4.0+ required Latest stable Prisma ORM version: 7.6.0 Upgrade Steps Overview 1. Update packages to v7 2. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/prisma-upgrade-v7