Prisma

From elophanto/EloPhanto · View interactive version

Prisma is an AI agent skill from the GitHub repository elophanto/EloPhanto. Key facts and breaking changes for upgrading to Prisma ORM 7. Consider version 7 changes before generation or troubleshooting

How to use this skill

Skill file

Triggers

Links

Upgrade

# Upgrade packages
pnpm add @prisma/client@7
pnpm add -D prisma@7

Breaking Changes (v7)

Minimum versions

Prisma is now ESM

Prisma schema + generation changes

import { PrismaClient } from './generated/prisma/client').

Schema datasource deprecations:

Driver adapters required for Prisma Client (new instantiation)

Prisma Accelerate users (v6 → v7)

Env vars are not loaded by default

Prisma CLI config moved to `prisma.config.ts`

Client middleware removed

Metrics removed from Client Extensions

Migrate/seed/generate behavior changes

Prisma-specific env vars removed

MongoDB support

Upgrade Checklist (quick)

Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.