prisma-mongodb-upgrade
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7.
Skill by prisma
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/velclaw-prisma-mongodb-upgrade-de48e2
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/prisma-mongodb-upgrade
What's inside
- Skill name
prisma-mongodb-upgrade- Description
- Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma Next. Triggers on "upgrade prisma mongodb", "prisma 7 mongodb", "mongodb prisma migration", "prisma next mongodb".
- License
- MIT
- Metadata
- author: prisma · version: 0.1.0
- Instructions
- 85 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- client-api-mapping.md · references/
- decision-stay-or-migrate.md · references/
- migrations-mapping.md · references/
- schema-contract-mapping.md · references/
- verify-cutover-checklist.md · references/
SKILL.md (first lines)
# Prisma MongoDB Upgrade Path
MongoDB projects are the one Prisma cohort with no road into Prisma 7: **v6 is the terminal
classic-ORM major for MongoDB, and v7 never ships a MongoDB connector**. The successor path
is [Prisma Next](https://github.com/prisma/prisma-next), where MongoDB support is in Early
Access with GA planned after Postgres. This skill frames the real decision — migrate to
Prisma Next (the encouraged path), or stay on v6 where a hard blocker applies — and carries
the migration mechanics.
**Never do either of these:**
- Never advise a MongoDB project to "upgrade to Prisma 7". The connector does not exist
there. The `prisma-upgrade-v7` guide does not apply to MongoDB projects.
- Never solve the version question by rewriting the app onto a SQL database. Changing the
database engine is a separate, much larger decision that is not yours to make implicitly.
## The version landscape
| Version | MongoDB status |
|---------|----------------|
| Prisma ORM v6 | Fully supported (`mongodb` provider); latest 6.x is the current stable path; maintenance line |
| Prisma ORM v7 | **No MongoDB connector — not an option, ever** |
| Prisma Next | MongoDB support in **Early Access**, actively developed, GA planned after Postgres — the successor path for MongoDB projects |
## The decision, up front
**Migrating to Prisma Next is the encouraged path.** MongoDB support in Prisma Next is Early
Access: functional and moving quickly, with GA planned after Postgres — and the Prisma team
wants MongoDB users to migrate early and share feedback. The migration mechanics are
detailed in the references.
**Staying on the latest v6 remains a legitimate choice where a hard blocker applies** —
stated plainly: the Next Mongo façade does not wrap transactions yet (the underlying driver
is available directly; this is expected to change soon), and pre-1.0 minors can carry
breaking changes with published upgrade recipes.
### Decision table
| Signal | Direction |
|--------|-----------|
| No blockers below apply | Migrate to Next; run the `verify-cutover-checklist` and share feedback with the Prisma team |
| Greenfield / prototype / internal tool | Migrate to Next |
| Codebase uses multi-document transactions (`$transaction`) — check with grep, do not ask | Plan raw-driver session equivalents first (see `client-api-mapping`), or stay on v6 until the façade wrapper lands |
| Team cannot absorb pre-1.0 breaking upgrades between minors | Stay on v6 until GA |
| Risk-averse but interested | Run a staged Next round-trip on a copy (see `verify-cutover-checklist`), then migrate |
Note: the transactions gap is expected to close soon — this section will be updated when
façade transactions merge in Prisma Next.
### If staying on v6: hygiene (a deliberate stay, not neglect)
- Pin the Prisma packages to the latest 6.x line and keep taking 6.x patch releases.
- Track Prisma release notes and security advisories for the 6.x line.
- Keep the classic v6 MongoDB setup: `url = env("DATABASE_URL")` in the schema, `db push`
workflow, no SQL driver adapters (see `prisma-database-setup` for the v6 MongoDB shape).
- Re-evaluate when Prisma Next's MongoDB is GA, or when blockers for trying EA are resolved.
## Reference files
| Reference | What it covers |
|-----------|----------------|
| `references/decision-stay-or-migrate.md` | The full decision framing, blocker checks, and stay-hygiene detail |
| `references/schema-contract-mapping.md` | v6 schema (`mongodb` provider, `@db.ObjectId`, composite types) → Next contract concepts |
| `references/client-api-mapping.md` | v6 client calls → Next equivalents, incl. raw escape hatches and transactions — names map, parity does not |
| `references/migrations-mapping.md` | v6 `db push`-only story → Next's plan/migrate/verify/sign flow |
| `references/verify-cutover-checklist.md` | No-data-moves verification: same DB, index parity, staged round-trip before cutover |
## Verified against
Behavioral claims about Prisma Next in this skill were verified against
[prisma/prisma-next](https://github.com/prisma/prisma-next) at commit
`a2791c5dd59d579b4b3052942ae7f8fe5e2ee852` (pre-1.0, ~v0.14/0.15 line). Prisma Next moves
quickly in Early Access: **before acting on any Next-side claim, verify it against the
version actually installed** (check the project's `@prisma-next/*` versions and the
prisma-next skills installed with it). Next's Mongo target requires MongoDB 8.0+ and expects
`mongodb@^7` as a user-supplied peer dependency.
## Hand-off rule
This skill is the **discovery bridge**, not a replacement for Prisma Next's own
documentation. After a project switches to Prisma Next, run Prisma Next's `init`/skill
installation and follow its own skills (quickstart, contract, queries, migrations, runtime)
for day-to-day work — do not keep working from this skill's summaries.From Velclaw/VELCLAW, MIT.
More from Velclaw/VELCLAW
- 0.585score
velclaw-agent-platform
Velclaw
Điều phối multi-agent, tích hợp channel (Telegram/WhatsApp/WeChat), coding agent, monitoring/dashboard, và plugin auth Cursor cho hệ sinh thái Velclaw.
SkillAFreshness: A★ 2Claude Code +9 - 0.583score
vercel-platform
Velclaw
Diagnose, configure, build, and deploy applications in the Vercel ecosystem, including Next.js, Vite, pnpm monorepos, environment variables, deployment logs…
SkillAFreshness: A★ 2Claude Code +9 - 0.580score
velaclaw-api-agent
Velclaw
Hướng dẫn tích hợp API token, cấu hình agent, và tạo plugins/skills cho dự án AI sử dụng repo VelaClaw/VELCLAW (ailib-official/velaclaw hoặc zylzyqzz/Vclaw).
SkillAFreshness: A★ 2Claude Code +9 - 0.577score
velclaw-github-guardian
Velclaw
Review and repair Velclaw ecosystem repositories using approval-first changes and policy-gated auto-merge.
SkillAFreshness: A★ 2Claude Code +9 - 0.550score
prisma-cli
prisma
Prisma ORM CLI commands reference covering init, generate, migrate, db, dev, studio, validate, format, debug, and mcp.
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
prisma-compute
prisma
Prisma Compute deployment and hosting guide.
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
prisma-database-setup
prisma
Guides for configuring Prisma with different database providers (PostgreSQL, MySQL, SQLite, MongoDB, etc.).
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
prisma-postgres
prisma
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
prisma-postgres-setup
prisma
Set up a new Prisma Postgres database and connect it to a local project using the Management API.
SkillBFreshness: B★ 2Claude Code +9 - 0.545score
sequential-thinking
Velclaw
Structured sequential problem-solving with branching, revision, and adaptive depth.
SkillBFreshness: B★ 2Claude Code +9 - 0.305score
prisma-driver-adapter-implementation
Tyler Benfield
Required reference for Prisma v7 driver adapter work.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 2
- Open issues
- 16
- Last commit (this folder)
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.1.0
- License
- MIT
- Repository
- github.com/Velclaw/VELCLAW
- Website
- velclaw.site
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.347score
prisma-mongodb-upgrade
prisma
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7.
SkillAFreshness: A★ 1Claude Code +9 - 0.347score
prisma-mongodb-upgrade
prisma
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7.
SkillAFreshness: A★ 1Claude Code +9 - 0.311score
prisma-mongodb-upgrade
prisma
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7.
SkillBFreshness: BClaude Code +9 - 0.311score
prisma-mongodb-upgrade
prisma
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7.
SkillBFreshness: BClaude Code +9
More from prisma
- 0.760score
prisma-compute
prismaOfficial
Deploy and operate apps on Prisma Compute with the Prisma 8 CLI.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-mongodb-upgrade
prismaOfficial
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-orm-setup
prismaOfficial
Set up Prisma ORM in an application, connect its database, or troubleshoot the connection of an existing Prisma 6, 7, or 8 app.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-postgres-setup
prismaOfficial
Obtain or reuse a Prisma Postgres database and connect an application.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-upgrade-v7
prismaOfficial
Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes.
SkillAFreshness: A★ 76Claude Code +9 - 0.756score
prisma-cli
prismaOfficial
Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows.
SkillAFreshness: A★ 76Claude Code +9
Cite this page
prisma-mongodb-upgrade skill. Agent Mart. https://agentmart.dev/skills/velclaw-prisma-mongodb-upgrade-de48e2 (last updated 2026-10-24)