Skip to main content

Prisma agent skills

All 11 agent skills by Prisma, with their SKILL.md files. Browse each one or open it in Treq. Source: github.com/prisma/skills

Prisma maintains prisma/skills, eleven skills for agents working with Prisma ORM, Prisma Postgres, and Prisma Compute. The repo is now partly a router: Prisma 8 ships version-matched skills inside its npm packages, and the setup skills here tell the agent to sync and read those. The rest cover Prisma 7 commands, the Client API, upgrades, and deployment. Install it if you run Prisma, especially during a major-version upgrade.

History

Aman Varshney's first commit in January 2026 brought four Prisma 7 skills: prisma-cli, prisma-client-api, prisma-database-setup, and prisma-upgrade-v7. A prisma-driver-adapter-implementation skill followed in February. At the end of March, Kristof Siket added prisma-postgres-setup after what its commits call two rounds of dogfooding.

June 2026 added prisma-compute, which Aman Varshney revised seven times through mid-July as the Compute CLI changed. September 2026 brought the main restructure. Sampo Lahtinen consolidated the setup skills around Prisma 8, folded prisma-database-setup into prisma-orm-setup, and replaced references to "Prisma Next" with Prisma 8. The old names survive as deprecation stubs.

The newest skill, from November 2026, is prisma-postgres-upgrade, which moves PostgreSQL apps from Prisma 6 or 7 to Prisma 8 in one pass. The repo has no tags, releases, or changelog. Cadence is steady and modest, with 20 commits in the last 90 days.

Depth

Eleven folders hold a SKILL.md, but two of them, prisma-database-setup and prisma-postgres, are 14-line redirects with no recipes. The other nine run from 47 to 270 lines, and all eleven total 1,557 lines, backed by 65 reference files. prisma-cli has the most support, with 20 references. One of them, agent-safety.md, explains Prisma's consent checkpoint, which blocks migrate reset and db push --force-reset in agent environments until the user's exact consent text is passed in.

The skills fall into two kinds. prisma-cli, prisma-client-api, and prisma-upgrade-v7 are Prisma 7 reference material, organized as rule tables and one page per command or topic. prisma-orm-setup, prisma-postgres-setup, and prisma-compute are procedures: detect the starting version, pin a release, run prisma skills sync, then read the package-owned skill. The Prisma 8 paths are verified against release candidates, such as 8.0.0-rc.21 in prisma-compute.

prisma-driver-adapter-implementation is the most specialized skill, at 270 lines with no references. It gives the adapter interfaces, a transaction protocol with savepoints, error mapping that preserves original codes for P2039, and a 13-item verification checklist. Few agents need it, but adapter authors will.

Tooling

Install with npx skills add prisma/skills, all at once or one skill at a time with --skill. The repo has no plugin manifests for Claude Code, Cursor, Codex, or Gemini, and no MCP configuration, although prisma-cli documents the prisma mcp command. The README.md lists a separate --skill command for each of the nine active skills.

Two GitHub workflows run. validate-skills.yml parses frontmatter with gray-matter and checks that name and description exist and that references is a directory. pr-code-security.yml calls Prisma's shared secret detection and code scanning workflows. There are no evals or tests, and no skill ships a script.

The heavier tooling lives in Prisma's own CLI. According to prisma-compute, prisma skills sync copies version-matched skills from installed packages into .claude/skills, .cursor/skills, .agents/skills, and .devin/skills. That design keeps Prisma 8 guidance pinned to the installed version, and it leaves this repo to handle routing and older versions.

Community engagement

Signal Value
Repository prisma/skills
Stars / forks 80 / 8
Open issues / PRs 1 / 4
Commits / contributors 47 / 6
First commit January 2026
Last 90 days 20 commits

As of November 2026 the repo has 80 stars and 8 forks, with one open issue and four open pull requests. Six people wrote the 46 human commits, and no one dominates: Aman Varshney has 16, Sampo Lahtinen 10, Kristof Siket 9, and Gregory Boch 8. The remaining commit, which added prisma-mongodb-upgrade, came from an account named clanky.exe.

Pull request numbers stop at #38, and some merged branches carry follow-up commits that address review feedback. Attention is low for an official vendor repo, but the authorship is more even than in Supabase, where one person wrote 84 percent of human commits. Expect a small team that updates the skills as Prisma's CLI changes, with little visible outside traffic.

Utility for target workloads

This is for teams on Prisma ORM, and more so for teams moving between majors. Concrete jobs include upgrading a Prisma 6 app to 7 with driver adapters and prisma.config.ts, and deciding whether a Prisma 6 MongoDB app stays put or moves to Prisma 8. Other jobs are provisioning Prisma Postgres through create-db or the Vercel Marketplace, deploying an app with prisma deploy, and writing a custom SQL driver adapter.

Prerequisites depend on the skill. create-db gives a temporary database with no account, which is deleted after 24 hours unless claimed with a free Prisma account. Prisma Compute needs prisma auth login, or a service token and workspace ID in CI.

The split between this repo and package-owned skills means an agent needs both to get Prisma 8 right. The README.md says not to use the Prisma 7 skills' recipes for Prisma 8 setup. Database hosts overlap here: Neon covers pooled and direct connections for migrations on Neon, and Prisma's setup skill keeps whatever database you already have.

Verdict: install prisma-orm-setup and the upgrade skill that matches your migration. Add prisma-postgres-setup and prisma-compute only if you use Prisma's hosted services. Skip the two deprecated stubs, which only redirect.

Other

  • prisma-cli

    Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.

  • prisma-client-api

    Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".

  • prisma-compute

    Deploy and operate apps on Prisma Compute with the Prisma 8 CLI. Use whenever the user mentions Prisma Compute, deploying or hosting a Prisma app, `prisma deploy`, `prisma dev module.ts`, Prisma Composer apps (`module.ts`, `compute()`, the `composer` section of `prisma.config.ts`), preview stages, deploy on push (`prisma git connect`, `prisma/cloud-deploy-action`), `prisma service` logs, versions, rollback, or custom domains, `project env`, `PRISMA_SERVICE_TOKEN`, regions, 504s, sleeping instances, or `waitUntil`; also when a project still uses the removed `@prisma/cli app deploy`, `prisma.compute.ts`, `defineComputeConfig`, `compute:deploy`, or `build logs` surface.

  • prisma-database-setup

    Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.

  • prisma-driver-adapter-implementation

    Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.

  • prisma-mongodb-upgrade

    Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma 8. Triggers on "upgrade prisma mongodb", "prisma 7 mongodb", "mongodb prisma migration", "prisma 8 mongodb".

  • prisma-orm-setup

    Set up Prisma ORM in an application, connect its database, or troubleshoot the connection of an existing Prisma 6, 7, or 8 app. Defaults new applications to Prisma ORM 8 and loads the package-owned prisma-8 skill; keeps existing Prisma 6/7 apps on their version with provider references for PostgreSQL, MySQL, SQLite, SQL Server, CockroachDB, MongoDB, and Prisma Postgres.

  • prisma-postgres

    Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.

  • prisma-postgres-setup

    Obtain or reuse a Prisma Postgres database and connect an application. Use when the user needs a database and has none configured ("I need a database", "add a Postgres database", "set up a database for this app"), runs or mentions `create-db` or `npx create-db`, or asks to set up or connect Prisma Postgres, including in v0 and the Vercel Marketplace. Hands Prisma ORM configuration to prisma-orm-setup; reuses an existing connection first and honors an explicit provider, driver, alternative ORM, or database-only choice.

  • prisma-postgres-upgrade

    Upgrade a PostgreSQL app from Prisma ORM 6 or 7 straight to Prisma 8 in one pass, keeping the existing schema.prisma, database and data. Use when a Postgres project on Prisma 6 or 7 wants Prisma 8, including before deploying it on Prisma Compute, which runs only Prisma 8. Triggers on "upgrade prisma 6 to 8", "upgrade prisma 7 to 8", "upgrade to prisma 8 postgres", "prisma7Schema", "migrations/app", "move off @prisma/client", "Console says move to Prisma 8".

  • prisma-upgrade-v7

    Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes. Use when upgrading Prisma versions, encountering v7 errors, or migrating existing projects. Triggers on "upgrade to prisma 7", "prisma 7 migration", "prisma-client generator", "driver adapter required".