prisma-upgrade-v7
prisma upgrade v7
What it does
- 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
- 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
Requirements & configuration
- If you need to stay on CommonJS, keep your app as CJS and set moduleFormat = "cjs" in the generator block instead of forcing ESM.
- // Optional if you need CommonJS:
- Add ssl: { rejectUnauthorized: false } to the adapter config if you need to preserve old behavior
Configuration: NODE_EXTRA_CA_CERTS
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
prisma-upgrade-v7 FAQ
What does the prisma-upgrade-v7 skill do?
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". Upgrading from Prisma v6 to v7 Updating to the prisma-client generator
What does prisma-upgrade-v7 require?
If you need to stay on CommonJS, keep your app as CJS and set moduleFormat = "cjs" in the generator block instead of forcing ESM. // Optional if you need CommonJS: Add ssl: { rejectUnauthorized: false } to the adapter config if you need to preserve old behavior Configuration keys: NODE_EXTRA_CA_CERTS.
How do I install prisma-upgrade-v7?
Run: npx -y skills add https://github.com/prisma/skills --skill prisma-upgrade-v7 --agent claude-code — the source lives at github.com/prisma/skills.
Maintain prisma-upgrade-v7?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/prisma-skills-prisma-upgrade-v7?ref=badge) npx agentictools info skills/prisma-skills-prisma-upgrade-v7 The second line is the CLI lookup for this page — handy in READMEs and docs.