
prisma / skills
✓ Official★ 43A skill package that teaches your agent 7 capabilities — every one documented and browsable below, no GitHub required · by prisma.
Each skill below is one capability this package teaches your agent. Install the whole package, or open a skill to install just that one.
Complete reference for Prisma CLI commands, options, and workflows across setup, migrations, and database operations. Covers 20+ commands organized by priority: setup ( init ), generation ( generate ), development ( dev ), database operations ( db pull/push/seed/execute ), and migrations ( migrate dev/deploy/reset/status/diff/resolve ) Includes Prisma 7.x changes: new prisma.config.ts configuration file, removed flags ( --skip-generate , --skip-seed , --schema , --url ), and explicit...
20 files — installable on its own
Complete Prisma Client API reference for model queries, CRUD operations, filtering, relations, and transactions. Covers 17 model query methods including findUnique , findMany , create , update , delete , upsert , and bulk operations with return variants Provides query options for shaping results: select , include , omit , orderBy , take , skip , cursor , and distinct Includes scalar and logical filter operators ( equals , in , contains , startsWith , lt , gt ) plus relation filters ( some ,...
10 files — installable on its own
Step-by-step configuration guides for Prisma ORM across PostgreSQL, MySQL, SQLite, MongoDB, SQL Server, CockroachDB, and Prisma Postgres. Covers datasource configuration, driver adapter selection, and Prisma Client instantiation for seven database providers Prisma v7 requires explicit driver adapters (e.g., @prisma/adapter-pg for PostgreSQL) and a prisma.config.ts file for connection URLs Includes quick-reference schema blocks and prerequisite checks (Node.js 20.19.0+, TypeScript 5.4.0+)...
10 files — installable on its own
Complete reference for implementing Prisma v7 driver adapters with transaction lifecycle, error mapping, and type conversion details. Covers four required interfaces: SqlDriverAdapter , Transaction , SqlMigrationAwareDriverAdapterFactory , and SqlQueryable , with full method signatures and lifecycle requirements Transaction commit() and rollback() are lifecycle hooks only; Prisma sends SQL via executeRaw , not these methods Includes argument mapping (string→int/bigint/float, base64→bytes)...
1 file — installable on its own
Setup and programmatic management of Prisma Postgres databases across Console, CLI, and APIs. Four core workflows: manual Console setup, instant provisioning via create-db CLI, REST API integration with service tokens or OAuth, and type-safe TypeScript integration via @prisma/management-api-sdk Supports temporary database creation with auto-deletion after ~24 hours, claim URLs for persistence, and region selection Management API available at https://api.prisma.io/v1 with OpenAPI docs and...
6 files — installable on its own
Set up a new Prisma Postgres database and connect it to a local project using the Management API. Use when asked to "set up a database", "create a Prisma…
6 files — installable on its own
Complete migration guide for upgrading Prisma ORM from v6 to v7 with ESM, driver adapters, and new configuration. Covers seven critical rule categories: schema migration, driver adapters, ESM support, configuration, removed features, and Accelerate-specific changes Requires Node.js 20.19.0+ and TypeScript 5.4.0+; MongoDB not yet supported in v7 Breaking changes include ESM-only modules, required driver adapters, explicit output paths, and prisma.config.ts configuration Provides step-by-step...
9 files — installable on its own
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 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-client-api
Comprehensive Prisma Client API reference.
Use when:
- Writing Prisma Client queries
- Understanding query options (select, include, where)
- Working with transactions
- Using raw SQL queries
Topics covered:
- PrismaClient constructor and configuration
- CRUD operations (findMany, create, update, delete)
- Query options (select, include, omit, orderBy, pagination)
- Filter operators and conditions
- Transactions ($transaction)
- Raw queries ($queryRaw, $executeRaw)
- Client methods ($connect, $disconnect, $extends)
prisma-driver-adapter-implementation
Implementation guide for Prisma SQL driver adapter development.
Use when:
- Implementing a new SQL driver adapter
- Modifying
SqlDriverAdapterorTransactionbehavior - Wiring migration-aware adapter factories
- Debugging adapter type mapping or transaction issues
Topics covered:
- Required adapter interfaces and contracts
- Transaction lifecycle protocol (including nested transactions)
SqlQueryargument mapping andSqlResultSetmappingColumnTypeEnummapping strategy- Error conversion to
DriverAdapterError/MappedError - Unit and E2E verification checklist
prisma-database-setup
Guides for configuring Prisma with different database providers.
Use when:
- Setting up a new project with a specific database
- Connecting to PostgreSQL, MySQL, SQLite, MongoDB, etc.
- Troubleshooting connection issues
- Configuring connection strings
Databases covered:
- PostgreSQL & Prisma Postgres
- MySQL / MariaDB
- SQLite
- MongoDB
- SQL Server
- CockroachDB
prisma-postgres
Prisma Postgres workflows across Console, create-db, Management API, and SDK integrations.
Use when:
- Setting up and managing Prisma Postgres in Prisma Console
- Creating instant databases with
npx create-db - Integrating programmatic provisioning with Management API
- Building typed API integrations using
@prisma/management-api-sdk - Handling auth, regions, claim flow, and connection details
Workflows covered:
npx create-db@latestnpx create-db@latest create --helpnpx create-db@latest regions --help- Programmatic
create-dbusage (create()andregions()) - Console operations (
https://console.prisma.io) - Management API (
https://api.prisma.io/v1) - Management API SDK (
@prisma/management-api-sdk)
prisma-compute
Prisma Compute deployment and hosting workflows centered on the Prisma Platform CLI, with create-prisma covered as the new-project scaffold path, plus framework readiness, SDK automation, and operational debugging.
Use when:
- Creating a new Prisma app with optional Compute deploy
- Deploying or redeploying an existing app to Prisma Compute
- Checking framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts
- Managing Compute app logs, deployments, environment variables, branches, and domains
- Building programmatic Compute integrations with SDK/API tooling
Workflows covered:
@prisma/cli app build/run/deploy- Generated
compute:deployscripts create-prisma --deployfor new project scaffolds- Framework-specific build output requirements
@prisma/compute-sdkand Management API App/Deployment concepts- Troubleshooting auth, env, build, deploy, log, and port issues
Installation
Install all skills:
npx skills add prisma/skillsOr install specific skills:
npx skills add prisma/skills --skill prisma-cli
npx skills add prisma/skills --skill prisma-upgrade-v7
npx skills add prisma/skills --skill prisma-client-api
npx skills add prisma/skills --skill prisma-driver-adapter-implementation
npx skills add prisma/skills --skill prisma-database-setup
npx skills add prisma/skills --skill prisma-postgres
npx skills add prisma/skills --skill prisma-computeList available skills:
npx skills add prisma/skills --listList installed skills:
npx skills listUsage
Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Examples:
Help me run Prisma migrations in productionUpgrade my project from Prisma 6 to Prisma 7How do I use transactions in Prisma?Skill Structure
Each skill contains:
SKILL.md- Main instructions with YAML frontmatter (name, description, metadata)references/(optional) - Individual reference files with detailed explanations and code examples
Prisma Version
The ORM-focused skills target Prisma ORM 7.6.x.
The prisma-compute skill tracks the active Prisma Compute launch flow and instructs agents to verify the current Prisma Platform CLI and create-prisma command surfaces before acting.
If you're upgrading from Prisma 6, use the prisma-upgrade-v7 skill for migration-specific guidance.
Contributing
See AGENTS.md for guidelines on creating and modifying skills.
License
MIT
Install the whole package (7 skills):
npx skills add https://github.com/prisma/skillsOr install a single skill:
npx skills add https://github.com/prisma/skills --skill <name>Pick the skill name from the Skills tab — each entry there installs independently.