Pular para o conteúdo
Kitbay
SkillOficial

record-upgrade-instructions

Apache-2.0Atualizado em 11 de nov. de 202647.664Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • Write upgrade instructions for a breaking change
  • Add detection patterns and codemod scripts
  • Validate instructions by replaying them on old code
record-upgrade-instructions: skill de agente | Kitbay