prisma-migrate

Enforce Prisma CLI migration workflows with post-migration typechecking.

Updated Nov 28, 2025
One-click install
npx skills add https://github.com/SoftSystemsStudio/Soft-Systems-Studio --skill prisma-migrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-migrate
Source: https://github.com/SoftSystemsStudio/Soft-Systems-Studio/tree/main/.claude/skills/prisma-migrate
Command: npx skills add https://github.com/SoftSystemsStudio/Soft-Systems-Studio --skill prisma-migrate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prisma migrations are error-prone when edited manually. This Skill enforces best practices to prevent drift, ensure safe migrations, and maintain schema integrity across environments.

Core Features & Use Cases

  • Migration governance: enforce Prisma CLI workflows for creating and applying migrations, avoiding direct edits to migration files.
  • Cross-environment workflows: guidance for development, staging, and production migrations with verification steps.
  • Quality checks: post-migration typecheck and client regeneration to ensure type safety.

Quick Start

Run the Prisma migrate commands to generate and apply migrations, then run typecheck and regenerate the Prisma client to finalize changes.

Frequently Asked Questions about prisma-migrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent manual edits from breaking Prisma migrations?

To prevent manual edits from breaking Prisma migrations, enforce strict Prisma CLI workflows for generating and applying schema changes, ensuring migration files remain untouched and consistent across all environments.

What is the best way to run Prisma migrations across staging and production?

The best way to run Prisma migrations across staging and production is to follow guided cross-environment workflows that use CLI commands for application and include verification steps to maintain schema integrity.

Do I need to typecheck after running a Prisma migrate command?

Yes, you need to typecheck after running a Prisma migrate command to ensure type safety. Post-migration typechecking and Prisma client regeneration verify that your schema changes are correctly reflected in your codebase.

How do I generate and apply Prisma schema changes safely?

You generate and apply Prisma schema changes safely by using Prisma CLI commands to create migrations, applying them through the workflow, and then regenerating the Prisma client to finalize the type updates.

Why should I use the Prisma CLI instead of directly editing migration files?

You should use the Prisma CLI instead of directly editing migration files because manual edits cause schema drift and misconfigurations. Enforcing CLI commands ensures repeatable migrations and maintains database integrity across environments.

Can I enforce naming conventions for Prisma migrations?

Yes, you can enforce naming conventions for Prisma migrations. Adhering to established naming conventions and best practices during migration generation prevents disorganization and ensures safe, repeatable schema updates.