prisma-migrate-guard
Installation
SKILL.md
Prisma Migrate Guard
Use this skill before deploys or CI release steps to verify Prisma migrations are healthy and ready to apply.
What this skill does
- Verifies required Prisma CLI/runtime tools are available
- Validates migration DB URL inputs (
DATABASE_URLby default) - Runs
prisma migrate statusagainst a target schema - Fails on common dangerous states:
- failed migrations
- migration drift warnings
- unapplied migration files
- missing migration history table hints
- Exits non-zero for CI/deploy gating