PS

prisma/skills

Database management

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

80 stars 品質 71 トレンド 21MIT

Prisma ORMで働くAIのコーディングエージェントのためのスキルのコレクション。 スキルはデータベース開発のためのエージェント能力を拡張するパッケージ化された指示です.

概要

Prisma ORMで働くAIのコーディングエージェントのためのスキルのコレクション。 スキルはデータベース開発のためのエージェント能力を拡張するパッケージ化された指示です。 スキルは、エージェントスキルのフォーマットに従い、npxスキルの追加と互換性があります。 現在のPrisma ORM CLIコマンドの完全な参照。 Prisma Computeアプリの展開には、prisma-compute を使用します。 - Prisma ORM/database コマンドを実行 - 新しいプロジェクト(prisma init)の設定 - 移行とデータベーススキーマの管理 - Prisma Client の生成 - init, dev, dev (local Prisma Postgres) - dev, migrate deploy, migrate reset - db push, db pull, db seed, db run - スタジオ, mcp Prisma v6 から v7 までのステップバイステップマイグレーションガイド、すべてのブレイクアウトの変更をカバーしています。 - 既存のプロジェクトをPrisma 7にアップグレード - v7の互換性の問題のトラブルシューティング - v7で何が変更されたかを理解する - ESM-first モジュール構成とCommonJSフォールバック - ドライバアダプタの要件 - 新しい prisma.config.

概要(AI 翻訳)

Prisma ORM、Prisma Postgres、Prisma Computeと連携するAIコーディングエージェントのスキルを集めました。 スキルは、データベース開発とアプリの展開のためのエージェントの能力を拡張するパッケージ化された指示です。

npx skills add] と互換性のある [エージェントスキルの形式に従うスキル。

利用可能なスキル

プリスマクライ

Prisma ORM 7 CLI コマンドの参照 Prisma Computeアプリの展開にはprisma-compute]を使用します。

使用時:

  • Prisma ORM 7/database コマンドを実行する
  • 明示的に選択したPrisma 7プロジェクト([prisma init)の設定)
  • 移行とデータベーススキーマの管理
  • Prismaクライアントの生成

カバーされているコマンド:

  • [init, [generate], [[dev]] (ローカルプリズムポストグレス)
  • migrate dev, migrate deploy, [migrate reset]
  • [db push, db pull, [db seed], [db execute]
  • [studio, [mcp]]

お問い合わせ

プリスマアップグレードv7

Prisma v6 から v7 までのステップバイステップマイグレーションガイド、すべてのブレイクアウトの変更をカバーしています。

使用時:

  • 既存のプロジェクトをプリスマ7にアップグレードする
  • v7の互換性の問題のトラブルシューティング
  • v7で何が変更されたのかを理解する

トピック:

  • ESM-first モジュール構成とCommonJSフォールバック
  • 運転者のアダプターの条件
  • 新しい [[[T15]ファイル

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Prisma Skills

A collection of skills for AI coding agents working with Prisma ORM, Prisma Postgres and Prisma Compute. Skills are packaged instructions that extend agent capabilities for database development and app deployment.

Skills follow the Agent Skills format and are compatible with npx skills add.

Available Skills

prisma-cli

Reference for Prisma ORM 7 CLI commands. For Prisma Compute app deployment, use prisma-compute.

Use when:

  • Running Prisma ORM 7/database commands
  • Setting up explicitly selected Prisma 7 projects (prisma init)
  • Managing migrations and database schema
  • Generating Prisma Client

Commands covered:

  • init, generate, dev (local Prisma Postgres)
  • migrate dev, migrate deploy, migrate reset
  • db push, db pull, db seed, db execute
  • studio, mcp

prisma-upgrade-v7

Step-by-step migration guide from Prisma v6 to v7, covering all breaking changes.

Use when:

  • Upgrading existing projects to Prisma 7
  • Troubleshooting v7 compatibility issues
  • Understanding what changed in v7

Topics covered:

  • ESM-first module configuration plus CommonJS fallback
  • Driver adapter requirements
  • New prisma.config.ts file
  • Manual environment variable loading
  • Generated client entrypoints (client, browser, models, enums)
  • Prisma.validator to satisfies migration
  • Removed features (middleware, metrics, CLI flags)
  • Special handling for Accelerate users

prisma-mongodb-upgrade

Decision and migration guide for MongoDB projects on Prisma v6, which have no path to Prisma 7.

Use when:

  • A MongoDB project asks about upgrading Prisma versions
  • Evaluating a move from Prisma v6 to Prisma 8
  • Preventing an impossible “upgrade MongoDB to v7” plan

Topics covered:

  • The version landscape (v6 terminal for MongoDB; v7 has no connector; Prisma 8 is the successor path)
  • Stay-on-v6 vs migrate-now decision table with no-go signals
  • Schema/contract, client API, and migrations mapping between v6 and Prisma 8
  • No-data-moves cutover verification checklist

prisma-postgres-upgrade

Upgrade a PostgreSQL app from Prisma ORM 6 or 7 straight to Prisma 8 in one pass, following the Prisma ORM 6 or 7 to 8 (PostgreSQL) guide. To deploy the result on Prisma Compute, use prisma-compute.

Use when:

  • A PostgreSQL project on Prisma ORM 6 or 7 wants Prisma 8
  • A Prisma ORM 6 or 7 app has to reach Prisma 8 before it can deploy on Prisma Compute

Topics covered:

  • Exact versions, and why not @latest for apps headed to Compute
  • Reading the existing schema.prisma with prisma7Schema(...), contract emit and db sign
  • Prisma 8 owning migrations in migrations/app/
  • The Prisma 8 client, query rewrites and the @prisma/[email protected] gotchas, including a database time zone other than UTC
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add prisma/skills
MCP 初心者?mcpskill.org のガイドから始めましょう →