Skip to content
Kitbay

prisma-upgrade-v7

MITUpdated on Nov 10, 202680GitHub stars

Prisma's migration skill for apps moving from Prisma ORM 6 to version 7 and staying there.

What the skill teaches

Prisma's migration skill for apps moving from Prisma ORM 6 to version 7 and staying there. It lists the breaking changes an agent has to handle: the new prisma-client generator and its entry points, required driver adapters, the prisma.config.ts file, loading environment variables explicitly, ESM as the default module format with a CommonJS fallback, replacing Prisma.validator, and features that were removed, such as middleware and metrics. A separate reference covers projects that use Accelerate. It is guidance with reference files; apps going to Prisma 8 use a different skill.

Capabilities

  • Upgrade a project from Prisma ORM 6 to 7
  • Switch to the prisma-client generator
  • Add the driver adapters Prisma 7 requires
  • Fix import and configuration errors after the upgrade