Documentation
README
Prisma ORM Database
Systematic Prisma workflow ensuring type-safe database operations with zero migration errors.
Overview
This Skill enforces:
- Prisma schema definition (source of truth)
- Model-first migration pattern
- Safe migrations with rollback testing
- Type-safe database queries
- Environment-specific workflows
- Schema drift detection
- Production deployment safety
Apply when designing database schemas, creating migrations, or generating Prisma Client.
Prisma Workflow
Every schema change follows this process:
Step 1: Update schema.prisma
↓
Step 2: Create migration
↓
Step 3: Test migration locally
↓
Step 4: Deploy to preview
↓
Step 5: Merge and deploy production
Step 1: Setup
Install Prisma
This is the opening of the README. Read the full README on GitHub.