prisma-upgrade-v7

prisma-upgrade-v7 is a skill for Claude Code, Codex from nitrocloudofficial/nitrostack. It costs 67 tokens per session (2,003 once invoked), scanned A, original, Apache-2.0.

A migration guide for moving Prisma ORM projects from version 6 to version 7. Prisma ORM is a tool that lets applications work with databases through code instead of writing every database query by hand.

In plain words
What is it for?
Use it when upgrading to Prisma 7, adopting the new client generator, configuring database driver adapters, updating environment settings, or fixing upgrade-related errors.
Why use it?
It explains breaking changes that can cause builds, imports, database connections, or configuration to fail after the upgrade. It organizes the migration issues by their likely impact.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is output = "../generated/prisma".

Good fit Use it when upgrading to Prisma 7, adopting the new client generator…

Compare 6 skills from other repositories ↓
About the project

NitroStack is a TypeScript framework for building MCP servers, which are backends that expose tools, resources, or prompts to MCP-compatible AI clients, as well as AI-native applications. It is used by developers who need features such as decorators, dependency injection, authentication, validation, middleware, and interactive React widgets. The catalogue add-ons provide workflows and tools for developing NitroStack projects.

nitrocloudofficial/nitrostack · 2,497 stars · on GitHub · nitrostack.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/nitrocloudofficial/nitrostack
agentmods
npx agentmods add skills/nitrocloudofficial/nitrostack/prisma-upgrade-v7

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prisma-upgrade-v7

README.md
[![agentmods](https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/prisma-upgrade-v7.svg)](https://agentmods.dev/skills/nitrocloudofficial/nitrostack/prisma-upgrade-v7)
Your own site
<a href="https://agentmods.dev/skills/nitrocloudofficial/nitrostack/prisma-upgrade-v7"><img src="https://agentmods.dev/badge/skills/nitrocloudofficial/nitrostack/prisma-upgrade-v7.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.02003
Opus 5 $0.00034 $0.01001
Sonnet 5 $0.00013 $0.00401
Haiku 4.5 $0.00007 $0.00200

Measured 7d ago against content hash 077570831ea7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

prisma-upgrade-v7 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

sample-apps/Ekalavya/.agents/skills/prisma-upgrade-v7/SKILL.md · 260 lines

How it starts

The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Upgrade to Prisma ORM 7

Complete guide for migrating from Prisma ORM v6 to v7. This upgrade introduces significant breaking changes around the new prisma-client generator, driver adapters, prisma.config.ts, explicit environment loading, and generated client entrypoints.

When to Apply

Reference this skill when:

  • Upgrading from Prisma v6 to v7
  • Updating to the prisma-client generator
  • Setting up driver adapters
  • Configuring prisma.config.ts
  • Fixing import errors after upgrade

Rule Categories by Priority

Priority Category Impact Prefix
1 Schema Migration CRITICAL schema-changes
2 Database Connectivity CRITICAL driver-adapters
3 Module System CRITICAL esm-support
4 Config and Env HIGH prisma-config, env-variables
5 Removed Features HIGH removed-features
6 Accelerate HIGH accelerate-users

Quick Reference

  • schema-changes - generator migration, required output paths, generated entrypoints, and Prisma.validator replacement
  • driver-adapters - required adapter installation for SQL providers, pool differences, and Prisma Postgres adapter choices
  • esm-support - ESM-first setup plus CommonJS fallback with moduleFormat = "cjs"
  • prisma-config - creating and using prisma.config.ts
  • env-variables - explicit environment loading
  • removed-features - removed middleware, metrics, and legacy CLI behavior
  • accelerate-users - migration notes for Accelerate users

Using MongoDB? This guide does not apply

Prisma 7 has no MongoDB connector. Do not apply any step in this guide to a project with provider = "mongodb" — see the prisma-mongodb-upgrade skill for the actual decision (stay on v6 deliberately vs migrate to Prisma Next).

Important Notes

  • MongoDB projects should stay on Prisma 6.x or migrate to Prisma Next - do not migrate MongoDB apps to Prisma 7's SQL client path (see prisma-mongodb-upgrade)
  • Node.js 20.19.0+ required
  • TypeScript 5.4.0+ required
  • Latest stable Prisma ORM version: 7.6.0

Read the full file on GitHub · 260 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 260 lines · 67 tokens per session scan A 077570831ea7

Subscribe to this mod's changes

prisma-upgrade-v7 is a skill published in the GitHub repository nitrocloudofficial/nitrostack (2,497 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 2,003 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.