一套面向使用 Prisma ORM 的 AI 编码代理的技能集合。技能是集成的指令,用于扩展代理数据库开发的能力。
概览
一套面向使用 Prisma ORM 的 AI 编码代理的技能集合。技能是集成的指令,用于扩展代理数据库开发的能力。 技能遵循特工技能格式,并兼容NPX技能添加。 当前Prisma ORM的CLI命令的完整参考。对于Prisma Compute应用的部署,请使用prisma-compute。 - 运行 Prisma ORM/数据库命令 - 设置新项目(prisma init)- 管理迁移和数据库模式 - 生成 Prisma 客户端 - init、生成、开发(本地 Prisma Postgres)- 迁移开发、迁移部署、迁移、重置 - 数据库推送、拉取、数据库种子、数据库执行 - Studio、MCP 从Prisma v6到v7的逐步迁移指南,涵盖所有关键变更。 - 将现有项目升级到 Prisma 7 - 排查 v7 兼容性问题 - 了解 v7 发生了哪些变化 - ESM优先模块配置及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/数据库命令
- 建立明确选定的Prisma 7项目(
prisma init) - 管理迁移和数据库模式
- 生成棱镜客户端
已覆盖的指令:
init,generate、dev(本地棱镜邮寄)migrate dev,migrate deploy,migrate resetdb push、db pull、db seed、db executestudio,mcp
棱镜升级-V7
从Prisma v6到v7的逐步迁移指南,涵盖所有关键变更。
使用时间:
- 将现有项目升级为Prisma 7
- 排查 v7 兼容性问题
- 理解v7中发生了哪些变化
涵盖的主题:
- ESM优先模块配置及CommonJS备份
- 驱动适配器要求
- 新建的
prisma.config.ts文件
本页由 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 resetdb push,db pull,db seed,db executestudio,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.tsfile - Manual environment variable loading
- Generated client entrypoints (
client,browser,models,enums) Prisma.validatortosatisfiesmigration- 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
@latestfor apps headed to Compute - Reading the existing
schema.prismawithprisma7Schema(...),contract emitanddb 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
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add prisma/skills