本文へスキップ
Kitbay
スキル公式

record-upgrade-instructions

Apache-2.02026年11月11日 更新47,664GitHubスター

A contributor skill in the Prisma ORM repository for pull requests that make breaking changes in Prisma 8.

スキルの内容

A contributor skill in the Prisma ORM repository for pull requests that make breaking changes in Prisma 8. The author adds an upgrade instruction fragment for each affected audience, app code under examples or extension code under extensions and target facades, so that Prisma's published upgrade skills can later apply the same changes for users. Each fragment lists changes with an optional regular expression that detects affected files and an optional Node script that rewrites them, with rules for anchoring patterns and testing scripts. Before merging, the instructions are applied to the code as it was before the pull request and must reproduce its changes and pass the test suite, and a coverage check runs in CI.

できること

  • Write upgrade instructions for a breaking change
  • Add detection patterns and codemod scripts
  • Validate instructions by replaying them on old code