ba-db-prisma-migrate

Community

Sync Prisma schema changes with versioned migrations.

AuthorYukine5377
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Updates Prisma schema and migrations versioned from User Story/ERD; provides guidance to run migrate dev/deploy, generate, and seed. Reminds postinstall generate, tsconfig include prisma, and IDE monorepo to avoid PrismaClient errors.

Core Features & Use Cases

  • Gap analysis: derive necessary changes from user stories or ERD to the Prisma data model.
  • Migration creation: generate timestamped migration folders under prisma/migrations and maintain a clean history without overwriting existing migrations.
  • Guidance: orchestrates or suggests commands for migrate dev/deploy, generate, and seed, ensuring postinstall and tsconfig/prisma config are aligned.
  • Warning: flags potentially destructive changes (DROP/rename with data) and requires user confirmation before risky operations.

Quick Start

Automatically align your Prisma schema with your data model by generating a versioned migration.

Dependency Matrix

Required Modules

None required

Components

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: ba-db-prisma-migrate
Download link: https://github.com/Yukine5377/common/archive/main.zip#ba-db-prisma-migrate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.