tumiki-prisma-schema-changes

Apply structured Prisma schema changes across multi-file setups with migration commands.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/rayven122/tumiki --skill tumiki-prisma-schema-changes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tumiki-prisma-schema-changes
Source: https://github.com/rayven122/tumiki/tree/main/.claude/skills/tumiki-prisma-schema-changes
Command: npx skills add https://github.com/rayven122/tumiki --skill tumiki-prisma-schema-changes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prismaスキーマの安全で構造化された変更を実行するための手順を提供します。複数ファイルで構成された Prisma スキーマの管理とマイグレーションを安全に行えるよう支援します。

Core Features & Use Cases

  • 複数ファイルに分割された Prisma スキーマの変更手順を提供
  • 開発環境と本番環境の移行を安全に適用するためのベストプラクティスとコマンド例
  • 名前付け規約の遵守とロールバック・検証のためのチェックリスト
  • Use Case: テーブル追加、カラム追加、リレーション追加、インデックス追加などの変更を段階的に適用

Quick Start

Edit the appropriate Prisma schema file in packages/db/prisma/schema, then run the recommended commands to generate the client, push migrations in development, migrate in production, build, and validate locally.

Frequently Asked Questions about tumiki-prisma-schema-changes

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

FAQPage Schema
How do I safely apply Prisma schema changes across a multi-file setup?

To safely apply Prisma schema changes, edit the relevant files in packages/db/prisma/schema, then run pnpm db:generate and pnpm db:push for development. This ensures structured modifications for adding tables, columns, and relations while maintaining strict naming conventions.

What is the correct workflow for running Prisma migrations in production?

The correct Prisma migration workflow in production uses npx prisma migrate deploy to apply schema changes safely. After deploying, run pnpm build and pnpm typecheck to validate client generation and ensure the database schema changes integrate without type errors.

Can I use this guided Prisma schema workflow for adding enums and relations?

Yes, you can use this guided Prisma schema workflow to add enums, relations, tables, columns, and indexes. It provides step-by-step commands and a rollback checklist to ensure these structural database modifications are applied safely in both development and production environments.

Do I need a specific directory structure for multi-file Prisma schema management?

Yes, multi-file Prisma schema management requires a clear file organization within packages/db/prisma/schema. This structure is necessary so the guided workflow can accurately target the correct schema files for client generation, migrations, and type checking.

What's the best way to validate Prisma client generation after a schema update?

The best way to validate Prisma client generation after a schema update is running pnpm db:generate followed by pnpm typecheck and pnpm build. This sequence verifies that the new schema changes produce a valid client and pass local type validation.