record-upgrade-instructions

record-upgrade-instructions is a skill for Claude Code, Codex from prisma/orm. It costs 135 tokens per session (3,109 once invoked), scanned A, original, Apache-2.0.

A workflow for documenting breaking changes in Prisma Next and recording how affected code should be updated. A breaking change is an update that requires users or extension authors to change their code.

In plain words
What is it for?
It helps maintainers add version-specific upgrade guidance for Prisma Next users and authors of Prisma Next extensions.
Why use it?
It gives downstream users and extension authors clear migration instructions instead of leaving them to discover the required translation on their own.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit It helps maintainers add version-specific upgrade guidance for Prisma Next users and authors of Prisma Next extensions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prisma/orm/record-upgrade-instructions
About the project

Prisma ORM is a Node.js and TypeScript database toolkit that lets applications work with databases through a programming interface instead of writing every query directly in SQL. Developers use it with databases including PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB, and CockroachDB. The catalogue add-ons provide agent rules, skills, hooks, agents, and other workflows for using Prisma.

prisma/orm · 47,821 stars · on GitHub · prisma.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add prisma/orm --skill record-upgrade-instructions
Clone the repo
git clone --depth 1 https://github.com/prisma/orm

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 record-upgrade-instructions

README.md
[![agentmods](https://agentmods.dev/badge/skills/prisma/orm/record-upgrade-instructions/github.svg)](https://agentmods.dev/skills/prisma/orm/record-upgrade-instructions)
Your own site
<a href="https://agentmods.dev/skills/prisma/orm/record-upgrade-instructions"><img src="https://agentmods.dev/badge/skills/prisma/orm/record-upgrade-instructions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for record-upgrade-instructions

Your own site · 80×15
<a href="https://agentmods.dev/skills/prisma/orm/record-upgrade-instructions"><img src="https://agentmods.dev/badge/skills/prisma/orm/record-upgrade-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,109 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. Third-party audits
  • Snyk pass 6 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00135 $0.03109
Opus 5.5 $0.00054 $0.01244
Sonnet 5.5 $0.00027 $0.00622
Haiku 4.5 $0.00014 $0.00311

Measured 3d ago against content hash a2bba9a97b9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

record-upgrade-instructions 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 3d 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.

skills-contrib/record-upgrade-instructions/SKILL.md · 153 lines

How it starts

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

Record upgrade instructions

Contribute an independent fragment on the PR that changes Prisma 8. Release preparation combines fragments into the published app and extension guides; feature PRs do not edit shared transition guides or choose a release number. Read the canonical upgrade instruction lifecycle for storage, release assembly, and checker modes.

Detection signals and routing

Use this skill when a framework change makes tests red in examples/, packages/3-extensions/ or a target facade (packages/3-targets/*/9-facade/ or packages/3-targets/*/*/9-facade/) and you fix them by updating the example or extension code rather than reverting the framework change. Those edits are the same translation downstream consumers need.

Directory changed by the PR Fragment audience Consumers
examples/ app Public package API, contract files, on-disk migrations
packages/3-extensions/, packages/3-targets/*/9-facade/ and packages/3-targets/*/*/9-facade/ extension Framework SPI and extension authors
Both Both, independently Both audiences

Changes in these directories require a declaration, subject to existing coverage-check exclusions. Generated artefacts are not generally exempt: contract format changes require a codemod or re-emission instructions. Genuinely consumer-invisible changes still get an explicit changes: [] declaration, with no prose.

Stacked PRs: compare against the branch the PR actually targets, not always main. Each PR adds its own declaration in its own commits; inherited fragments do not cover a new PR. Do not pool a stack's instructions in its bottom PR.

Throughout this skill, <target> is the target branch (main unless stacked), <base> is its pinned comparison commit, and <head> is the PR head commit.

Authoring workflow

  1. Identify affected audiences. Inspect git diff <base>..<head> -- examples/ packages/3-extensions/ 'packages/3-targets/*/9-facade/' 'packages/3-targets/*/*/9-facade/'. If none of these directories has relevant changes, the coverage check does not require a declaration.
  2. Choose a descriptive pending name. Add upgrade-instructions/pending/<descriptive-name>/<audience>/instructions.md for each affected audience. Avoid collisions with pending work; no random suffix, global registry, historical-name reservation, or shared index is required. Never append to another PR's fragment. A release landing during your PR does not change this unversioned destination.
  3. Write the instructions. Retain the existing YAML frontmatter changes[] and Markdown prose format. Each change has a kebab-case id unique within the guide, a one-line summary, optional detection (glob and content predicate), and an optional script path relative to instructions.md. Prose-only transformations omit script; the consumer's agent follows the body.

Read the full file on GitHub · 153 lines

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. 3d ago Changed a2bba9a97b9e
  2. 15d ago Changed · +2 lines · +6 tokens per session 001d68ffd952
  3. 23d ago Changed 4e435b43c9e9
  4. 1mo ago Changed · +2 lines · +4 tokens per session 1a8cf697f0aa
  5. 1mo ago Changed · +2 lines 72cf745d3169
  6. 2mo ago Changed · +2 lines 7d4ec42d4dfc
  7. 2mo ago Changed · -67 lines · +2 tokens per session 132696bf2c8c
  8. 2mo ago Changed · +3 tokens per session e17cc6269eee
  9. 3mo ago First seen · 212 lines · 120 tokens per session scan A 59601ae215da

Subscribe to this mod's changes

record-upgrade-instructions is a skill published in the GitHub repository prisma/orm (47,821 stars, last pushed today), licensed Apache-2.0. It adds 135 tokens to every session and 3,109 once invoked, about $0.0005 per session on Opus 5.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-09-03.

Related

record-upgrade-instructions compared with skills from other repositories

record-upgrade-instructions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
record-upgrade-instructionsprisma/ormSkill48ktodayApache-2.0A135Claude Code, Codex
prisma-ormericrisco/rsc-harnessSkill7072d agoMITA101Claude Code, Codex
search_contentvercel/eveSkill6.2ktodayApache-2.0A59Claude Code, Codex
build-with-tinybasetinyplex/tinybaseSkill5.2ktodayMITA90Claude Code, Codex
output-dev-credentialsgrowthxai/outputSkill445yesterdayApache-2.0A36Claude Code
monitoring-ingestion-pipelinePostHog/posthogSkill41ktodaynoneA70Claude Code, Codex
monitoring-capture-servicePostHog/posthogSkill41ktodaynoneA92Claude Code, Codex