upgrading-to-prisma-6
CommunitySmooth Prisma 5→6 upgrade, with confidence.
System Documentation
What problem does it solve?
Prisma 6 introduces four breaking changes that require code updates and careful migration. This Skill guides you through upgrading from Prisma 5 to Prisma 6, addressing Buffer → Uint8Array, implicit m-n primary keys, NotFoundError removal, and reserved keywords to prevent runtime errors and type issues.
Core Features & Use Cases
- Migration phases: Pre-Migration Assessment, Schema Migration, Code Migration, and Validation to structure the upgrade.
- Code updates: Guidance on updating Buffer → Uint8Array conversions, NotFoundError handling, and reserved keywords.
- Validation: TypeScript checks and migration review before production upgrade.
Quick Start
Run the Prisma 6 upgrade workflow in your project. Start with a pre-migration assessment to locate Bytes fields, implicit m-n relations, NotFoundError usage, and reserved keywords; then apply schema and code changes; finally validate with TS compilation and a test migration.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: upgrading-to-prisma-6 Download link: https://github.com/djankies/claude-configs/archive/main.zip#upgrading-to-prisma-6 Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.