prisma-migrate-safety
CommunityDeploy Prisma migrations with guardrails
System Documentation
What problem does it solve?
Prisma migrations can fail in staging or production, or introduce unintended destructive changes; this Skill helps you validate and deploy migrations more safely for the users service.
Core Features & Use Cases
- Staging validation before deploy: Uses a staging database to preview and catch issues early.
- Migration integrity checks: Verifies migration status and scans migration SQL for potentially destructive operations unless explicitly marked as safe.
- Rollback plan via pre-deploy tagging: Creates a git tag before deploying so you have a clear rollback point if anything goes wrong.
Use case example: You need to release a schema change to the users database and want to prevent accidental data loss or schema breakage during the production rollout.
Quick Start
Run the pre-flight checks, validate against the staging database using the preview deploy, and then deploy with a pre-created git rollback tag for the users service.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: prisma-migrate-safety Download link: https://github.com/mattbutlerengineering/mattbutlerengineering/archive/main.zip#prisma-migrate-safety 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 471,000+ vetted skills library on demand.