一键导入
prisma-orm-v7-skills
Key facts and breaking changes for upgrading to Prisma ORM 7. Consider version 7 changes before generation or troubleshooting
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Key facts and breaking changes for upgrading to Prisma ORM 7. Consider version 7 changes before generation or troubleshooting
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Clerk authentication for Next.js 16 (App Router only) with proxy.ts setup, migration from middleware.ts, environment configuration, and MCP server integration.
Integrate Resend email service via MCP protocol for AI agents to send emails with Claude Desktop, GitHub Copilot, and Cursor. Set up transactional and marketing emails, configure sender verification, and use AI to automate email workflows.
AI SDK 6 Beta overview, agents, tool approval, Groq (Llama), and Vercel AI Gateway. Key breaking changes from v5 and new patterns.
Auth.js v5 setup for Next.js authentication including Google OAuth, credentials provider, environment configuration, and core API integration
Pattern for building MCP servers in Next.js with mcp-handler, shared Zod schemas, and reusable server actions.
Key facts and links for Next.js 16. Use for planning, writing, and troubleshooting Next.js 16 changes.
| name | prisma-orm-v7-skills |
| description | Key facts and breaking changes for upgrading to Prisma ORM 7. Consider version 7 changes before generation or troubleshooting |
# Upgrade packages
pnpm add @prisma/client@7
pnpm add -D prisma@7
"type": "module" in package.json (or migrate your project to ESM).module: ESNext, target: ES2023, moduleResolution: node).prisma-client-js → prisma-client.output is required in generator client.node_modules by default.npx prisma generate, update imports to your generated output path (example:
import { PrismaClient } from './generated/prisma/client').Schema datasource deprecations:
url, directUrl, shadowDatabaseUrl in schema.prisma are deprecated.prisma.config.ts (Prisma Config).directUrl for migrations, set the CLI migration connection string in prisma.config.ts.@prisma/adapter-pg (use PrismaPg with a direct DB connection string)@prisma/adapter-better-sqlite3prisma:// or prisma+postgres:// (Accelerate URLs) to a driver adapter..env files in v7.import 'dotenv/config' in prisma.config.ts, or load env in your scripts)..env).prisma.config.tsprisma.config.ts at the project root (next to package.json).prisma.$use(...) is removed.prisma migrate dev / prisma migrate reset is removed.
pnpm prisma db seed (or pnpm exec prisma db seed).--skip-generate and --skip-seed flags removed.prisma migrate dev and prisma db push no longer run prisma generate automatically.
pnpm prisma generate (or pnpm exec prisma generate) explicitly.PRISMA_CLI_QUERY_ENGINE_TYPEPRISMA_CLIENT_ENGINE_TYPEPRISMA_QUERY_ENGINE_BINARYPRISMA_QUERY_ENGINE_LIBRARYPRISMA_GENERATE_SKIP_AUTOINSTALLPRISMA_SKIP_POSTINSTALL_GENERATEPRISMA_GENERATE_IN_POSTINSTALLPRISMA_GENERATE_DATAPROXYPRISMA_GENERATE_NO_ENGINEPRISMA_CLIENT_NO_RETRYPRISMA_MIGRATE_SKIP_GENERATEPRISMA_MIGRATE_SKIP_SEEDschema.prisma generator to provider = "prisma-client" and set output.pnpm prisma generate and update Prisma Client imports to the generated output path.prisma.config.ts at repo root; move datasource config and load env explicitly.pnpm prisma generate and pnpm prisma db seed explicitly.