🛍️ 更多精选好物 ›
📊 公开数据一览
| 📦 榜单安装量 | 5.6K |
| ⭐ GitHub Stars | 50(fork 4) |
| 🗓️ 最近推送 | 2026-07-16 |
| 🌱 项目创建 | 2026-01-23 |
| 💻 语言 / License | 未标注 · MIT |
| 🐛 开放Issue | 1 |
📝 工具简介
给用Prisma ORM的AI编码代理用的技能包,打包好的指令能扩展代理在数据库开发上的能力。
📖 怎么用
安装用 `npx skills add prisma/skills --skill prisma-upgrade-v7`,想先看看有哪些技能可以跑 `npx skills add prisma/skills --list`。装完不用额外配置。这个技能专门帮你升级到 Prisma 7,开始用时直接说“帮我升级到 Prisma 7”,它会带你走迁移流程,包括改 schema、处理 breaking changes、更新 Client API 调用。如果你要跑生产迁移,直接说“Help me run Prisma migrations in production”,它会给你分步指导。
📋 迷你测评
帮AI代理处理Prisma ORM版本迁移的技能包。亮点是专攻升级场景,省去手动改配置的麻烦。
📄 README 要点
这个技能包是给AI编码代理用的Prisma ORM工具集,用npx skills add就能装。核心内容是prisma cli技能,完整覆盖当前Prisma CLI命令,比如init、generate、migrate dev、db push、db pull、db seed、studio这些,适合跑数据库命令、建新项目、管迁移和生成客户端。另一个重点是升级v7指南,从v6到v7一步步讲,覆盖所有破坏性变更,适合升级现有项目或排查v7兼容问题。做Prisma数据库开发的人,特别是要升级到v7的,用这个能少踩坑。
查看英文原文
Prisma Skills A collection of skills for AI coding agents working with Prisma ORM. Skills are packaged instructions that extend agent capabilities for database development. Skills follow the Agent Skills format and are compatible with npx skills add . Available Skills prisma cli Complete reference for current Prisma ORM CLI commands. For Prisma Compute app deployment, use prisma compute . Use when: Running Prisma ORM/database commands Setting up new 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 Next Preventing an impossible "upgrade MongoDB to v7" plan Topics covered: The version landscape (v6 terminal for MongoDB; v7 has no connector; Prisma Next 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 Next No data moves cutover verification checklist prisma client api Comprehensive Prisma Client API reference. Use when: Writing Prisma Client queries Understanding query opti
💬 评论(0)
交流使用体验、避坑建议;违规内容将被删除