prisma-upgrade-v7
Skill by lukevella
Guides developers through migrating Prisma ORM from v6 to v7. It covers breaking changes such as ESM-only support, required driver adapters, and the new prisma.config.ts file.
Install prisma-upgrade-v7
Built from the published package, never by AI.
git clone --depth 1 https://github.com/lukevella/rallly /tmp/rallly && mkdir -p ~/.claude/skills && cp -r /tmp/rallly/.agents/skills/prisma-upgrade-v7 ~/.claude/skills/prisma-upgrade-v7Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/lukevella/rallly /tmp/rallly && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/rallly/.agents/skills/prisma-upgrade-v7 ~/.gemini/antigravity-cli/skills/prisma-upgrade-v7Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The prisma-upgrade-v7 skill is a migration guide for moving Prisma ORM from v6 to v7. It covers the breaking changes in v7, including ESM-only support, required driver adapters, and a new configuration system. The guide is organized into rule categories such as schema changes, driver adapters, ESM support, prisma.config.ts, environment variables, removed features, and Accelerate users.
It includes step-by-step instructions covering package updates, ESM configuration in package.json and tsconfig.json, the generator block change from prisma-client-js to prisma-client, and client instantiation with a driver adapter. It also lists troubleshooting notes for module-not-found errors, SSL certificate errors, and connection timeouts. The source is aimed at developers upgrading existing Prisma projects to v7.
Written from the project's SKILL.md and checked against it.
What it can do
- Schema migrationUpdates the generator block from prisma-client-js to prisma-client with an explicit output path.
- Driver adapter setupExplains installing and wiring a driver adapter for PostgreSQL, MySQL, SQLite, and other databases.
- ESM configurationCovers setting type to module in package.json and updating tsconfig.json for v7.
- Prisma config fileShows how to create prisma.config.ts with schema, migrations, and datasource settings.
- Environment loadingExplains loading environment variables manually with dotenv instead of automatically.
- Removed featuresCovers removed middleware, metrics, and CLI flags and their replacements.
- Accelerate migrationProvides migration notes for users of Accelerate.
What you need
- Node.js 20.19.0 or later
- TypeScript 5.4.0 or later
- npm
- A database driver adapter package for your database
Try asking
- Walk me through upgrading my Prisma project from v6 to v7.
- Update my schema.prisma generator block for prisma-client in v7.
- Help me fix a 'Cannot find module' error after upgrading to Prisma 7.
Good to know
- MongoDB is not yet supported in v7, so MongoDB users should stay on v6.
- Driver adapters use different pool defaults than v6, so pool settings may need configuring.
- Middleware using $use() must move to Client Extensions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/prisma-upgrade-v7/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/accelerate-users.md3 KB -
references/driver-adapters.md5 KB -
references/env-variables.md3 KB -
references/esm-support.md3 KB
Show all 8 files
-
references/prisma-config.md3 KB -
references/removed-features.md4 KB -
references/schema-changes.md2 KB
Alternatives to prisma-upgrade-v7
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
prisma-upgrade-v7: common questions
Does this guide work for MongoDB projects?
No. The source says MongoDB is not yet supported in Prisma v7, so MongoDB users should continue using v6.
Which Node.js and TypeScript versions are required?
The source states Node.js 20.19.0 or later and TypeScript 5.4.0 or later.
Which reference file should I read first?
The source says to follow references/schema-changes.md and references/driver-adapters.md first, then apply the other reference files based on your project setup.
How do I install prisma-upgrade-v7?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is prisma-upgrade-v7 free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is prisma-upgrade-v7 safe to use?
It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to prisma-upgrade-v7?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
