record-upgrade-instructions

Installation
SKILL.md

Record upgrade instructions

This skill fires on PRs inside this repo that make a breaking change to Prisma Next. It walks you through adding a per-transition upgrade-instructions entry in the right published skill package(s) — so downstream users and extension authors can run the matching agent flow to migrate their code automatically.

The published skills you will be authoring entries into:

  • packages/0-shared/upgrade-skill/ — distributed as @prisma-next/upgrade-skill on npm. Audience: users of Prisma Next (consumers of the public package API: @prisma-next/postgres, @prisma-next/mongo, the contract files in prisma/, on-disk migration shape).
  • packages/0-shared/extension-upgrade-skill/ — distributed as @prisma-next/extension-upgrade-skill on npm. Audience: authors of Prisma Next extensions (consumers of the framework SPI: @prisma-next/contract, @prisma-next/framework-components, @prisma-next/migration-tools, etc.).

The two packages are independent (no cross-dep). Cross-audience breaking changes — where the same on-disk transformation applies to both substrates — are recorded separately in each package, including duplicated colocated scripts.

When to use

Fire this skill on any PR where:

  • You refactored framework code, then
  • the test suite went red in examples/ and/or packages/3-extensions/, and
  • you fixed those red tests by editing the substrate (not by reverting the framework change).
Related skills

More from prisma/prisma-next

Installs
1
GitHub Stars
333
First Seen
9 days ago