prisma-upgrade-v7

Guide Prisma v6 to v7 upgrades in Node.js/TypeScript projects.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/devkit-stack/Claude --skill prisma-upgrade-v7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-upgrade-v7
Source: https://github.com/devkit-stack/Claude/tree/main/.claude/skills/prisma-upgrade-v7
Command: npx skills add https://github.com/devkit-stack/Claude --skill prisma-upgrade-v7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a complete, structured migration guide to move from Prisma v6 to v7, addressing breaking changes, configuration updates, and common pitfalls to ensure a smooth upgrade.

Core Features & Use Cases

  • Comprehensive upgrade steps: from package updates to schema and config changes.
  • ESM and config migration guidance: switch to prisma.config.ts, update generator and datasource blocks.
  • Driver adapter setup and migrations: install adapters and adjust client imports.
  • Use Case: When upgrading a Prisma project to v7 in a Node.js/TypeScript environment.

Quick Start

Follow the steps outlined in this guide to upgrade Prisma from v6 to v7, including updating packages, enabling ESM, creating prisma.config.ts, and integrating driver adapters.

Frequently Asked Questions about prisma-upgrade-v7

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade Prisma from v6 to v7 in a Node.js TypeScript project?

Upgrading Prisma to v7 involves updating your Node.js packages, restructuring configuration by creating prisma.config.ts, enabling ESM, and installing driver adapters to successfully migrate your TypeScript project.

What breaking changes require a prisma.config.ts file during the Prisma v7 migration?

Prisma v7 migration requires prisma.config.ts to restructure configuration, update generator and datasource blocks, and properly enable ES modules alongside driver adapter setup for your Node.js environment.

Do I need to install driver adapters to migrate my TypeScript project to Prisma v7?

Yes, installing and wiring driver adapters is required for Prisma v7 migration, which involves adjusting your TypeScript imports and updating the generated client paths to maintain database connectivity.

How does ESM migration affect my Prisma client imports when upgrading to v7?

ESM migration in Prisma v7 requires adjusting your TypeScript project imports and generated client paths to align with ES module standards, ensuring your Node.js application runs without module resolution errors.

Can I use the Prisma v7 upgrade guide for a standard Node.js environment without TypeScript?

This Prisma v7 upgrade guide applies specifically to Node.js and TypeScript environments, providing structured steps for ESM migration, driver adapter setup, and TypeScript configuration that standard JavaScript projects might need to adapt.