Skip to content
mcp/skillhub

Agent Skill

Prisma Driver Adapter Implementation skill

prisma-driver-adapter-implementationprisma/skillsprisma-driver-adapter-implementation/SKILL.md

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.

74MIT

always on

69 tokname + description

once used

2,362 tokSKILL.md body

bundled files

0

installs

366kskills.sh

Install the Prisma Driver Adapter Implementation skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/prisma/skills --skill prisma-driver-adapter-implementation

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/prisma/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -R /tmp/skills/prisma-driver-adapter-implementation ~/.claude/skills/prisma-driver-adapter-implementation

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description69 tok
When the agent uses itThe SKILL.md instructions2,362 tok
Only if openedNo bundled files—

Until it is used, prisma-driver-adapter-implementation costs about 20× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 10 skills from prisma/skills would load 827 tokens of descriptions. Skills vs MCP study

Checks

Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Prisma SQL Driver Adapter Implementation
  • When to Apply
  • Contract snapshot
  • Priority rules
  • Query implementation
  • Result mapping
  • Script execution
  • Transaction protocol
  • Commit and rollback
  • Error mapping
  • Factory, ownership, and shadow database
  • Verification checklist
  • Source references

More skills from prisma/skills

All skills in this repo
  1. prisma-client-apiprisma/skills

    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".

    380k63 tok idle · 1,465 in use
  2. 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.

    379k41 tok idle · 100 in use
  3. prisma-cliprisma/skills

    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.

    377k66 tok idle · 1,659 in use
  4. prisma-postgresprisma/skills

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

    371k37 tok idle · 81 in use
  5. 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.

    365k122 tok idle · 706 in use
  6. prisma-upgrade-v7prisma/skills

    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".

    365k67 tok idle · 1,912 in use
  7. prisma-computeprisma/skills

    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.

    361k171 tok idle · 4,062 in use
  8. 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".

    359k97 tok idle · 1,341 in use