Agent skill · Prisma
Prisma 7 Upgrade skill for Claude Code, Codex and Cursor
Officialname: prisma-upgrade-v7★ 76 (repo)pushed 2026-10-22MITSKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or migrating existing projects. Triggers on "upgrade to prisma 7", "prisma 7 migration", "prisma-client generator", "driver adapter required".
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install Prisma 7 Upgrade
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add prisma/skills --skill prisma-upgrade-v7
Copy the skill folder into ~/.claude/skills (all projects) or .claude/skills (this repo). Claude Code picks it up without a restart. docs
npx skills add prisma/skills --skill prisma-upgrade-v7 -a claude-code # or by hand: git clone --depth 1 https://github.com/prisma/skills.git /tmp/prisma-upgrade-v7-src cp -r /tmp/prisma-upgrade-v7-src/prisma-upgrade-v7 ~/.claude/skills/prisma-upgrade-v7
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/prisma/skills.git /tmp/prisma-upgrade-v7-src cp -r /tmp/prisma-upgrade-v7-src/prisma-upgrade-v7 ./prisma-upgrade-v7 zip -r prisma-upgrade-v7.zip prisma-upgrade-v7
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add prisma/skills --skill prisma-upgrade-v7 -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install prisma/skills prisma-upgrade-v7
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add prisma/skills --skill prisma-upgrade-v7 -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/prisma/skills.git --path prisma-upgrade-v7
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add prisma/skills --skill prisma-upgrade-v7 -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add prisma/skills --skill prisma-upgrade-v7 -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
What's in the SKILL.md
- When to Apply
- Rule Categories by Priority
- Quick Reference
- Using MongoDB? This guide does not apply
- Important Notes
- Upgrade Steps Overview
- Quick Upgrade Commands
- Breaking Changes Summary
- Rule Files
- Step-by-Step Migration
- 1. Update package.json for ESM-first projects
- 2. Update tsconfig.json
- 3. Update schema.prisma
- 4. Create prisma.config.ts
- 5. Install a driver adapter (SQL providers only)
- 6. Update client instantiation
- 7. Replace Prisma.validator with satisfies
- 8. Run migrations and generate
- Troubleshooting
- "Cannot find module" errors
- SSL certificate errors
- Connection timeout issues
- Resources
- How to Use
Bundled files
- references/accelerate-users.md
- references/driver-adapters.md
- references/env-variables.md
- references/esm-support.md
- references/prisma-config.md
- references/removed-features.md
- references/schema-changes.md
Loaded only when the instructions point to them.
Facts
- Skill name
- prisma-upgrade-v7
- Publisher
- Prisma (official)
- Repo
- prisma/skills
- License
- MIT
- Version
- 7.6.0
- SKILL.md size
- 750 words, 251 lines
- Bundled files
- 7, 7 docs
- Repo stars
- 76 (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
Pairs with the Prisma MCP server: the server gives the agent the tools, the skill teaches it how to use them.
More skills from prisma/skills
- Prisma CLI: Reference for Prisma 7 CLI commands: init, generate, migrate, db, studio.
- Prisma Client API: Reference for Prisma Client queries, filters, relations and CRUD methods.
Related backend & databases skills
- Optimize EF Core Queries · Microsoft (.NET)
- Durable Objects · Cloudflare
- Supabase · Supabase
- Postgres Best Practices (Supabase) · Supabase
- Firebase Basics · Firebase (Google)
- Cloud Firestore · Firebase (Google)
- Sanity Best Practices · Sanity
- MongoDB Schema Design · MongoDB
FAQ
What does the prisma-upgrade-v7 skill do?+
Migrates a project from Prisma ORM 6 to 7 and fixes the breaking changes. In its own SKILL.md, Prisma describes it as: "Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or migrating existing projects. Triggers on "upgrade to prisma 7", "prisma 7 migration", "prisma-client generator", "driver adapter required"."
How do I install the prisma-upgrade-v7 skill?+
Run npx skills add prisma/skills --skill prisma-upgrade-v7 and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/prisma-upgrade-v7/SKILL.md; in Codex and Cursor in .agents/skills/prisma-upgrade-v7/.
Does Prisma 7 Upgrade work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.
Who maintains Prisma 7 Upgrade?+
Prisma, the company or project behind it, in the prisma/skills repo on GitHub, last pushed 2026-10-22. License: MIT.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers