PlugWiki

prisma-orm-setup Skill: What It Does and How to Install It

Makes your coding agent set up Prisma ORM, connect your database and verify a query, keeping existing Prisma 6 and 7 apps on their version.

Installs
81.8K
on skills.sh
Stars
77
on GitHub
Files
8
besides SKILL.md
Updated
Oct 2026
last repo commit

The SKILL.md has the agent first detect your starting point from the package manifest, lockfile, Prisma config, schema and imports. New apps default to Prisma ORM 8: it pins a Prisma 8 CLI, runs prisma orm init, then prisma skills sync and reads the synced prisma-8 skill. Existing Prisma 6 and 7 apps stay on their version, with provider references for PostgreSQL, MySQL, SQLite, SQL Server, CockroachDB, Prisma Postgres and Prisma 6 MongoDB.

It ends by running your project's checks and a read-only query against the database you chose. Major upgrades are separate tasks. It is published in Prisma's own prisma/skills repo.

Good for

  • Developers adding Prisma to a new app
  • Teams fixing a Prisma database connection
  • Teams on Prisma 6 or 7 who want setup help without a forced upgrade

Install prisma-orm-setup

Claude Code

  1. 1

    Copy this prompt.

    Install the prisma-orm-setup skill in Claude Code. Run this command:
    
    npx skills add prisma/skills --skill prisma-orm-setup
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Pick one route. README says to install prisma-orm-setup and prisma-postgres-setup for the default Prisma Postgres workflow; the second install command adds it. The skill runs the Prisma CLI in your project, so you need a Node.js project.

From the project README. Source.

What's in the skill

When it loads

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.

Sections in SKILL.md

  1. 1. Detect the starting point
  2. 2. Handle requested major upgrades separately
  3. 3. Bootstrap a new Prisma 8 application
  4. 4. Load the installed Prisma 8 guidance
  5. 5. Set up or repair an earlier version
  6. 6. Connect and verify

Key facts

Installs on skills.sh
81,807 (Nov 2, 2026)
Last repo commit
Oct 30, 2026

What it includes

  • Read the manifest, lockfile, Prisma config, schema and imports.

    Decides between a Prisma 8 app, a new app and a Prisma 6 or 7 app. The CLI version alone does not decide it.

    Try: “Set up Prisma in this app”

    Read · Detect the starting point

  • Pin a Prisma 8 CLI and run prisma orm init --yes.

    Uses your package manager. The SKILL.md example is prisma orm init --yes --target postgres --authoring psl, and it keeps existing files and connection config.

    Runs code · Bootstrap Prisma 8

  • Run prisma skills sync, then read the synced prisma-8 SKILL.md.

    The SKILL.md says syncing alone does not load the instructions; the agent must read the file.

    Runs code · Load prisma-8 guidance

  • Use provider references for Prisma 7 SQL or Prisma 6 MongoDB.

    Eight reference files cover client setup, PostgreSQL, MySQL, SQLite, SQL Server, CockroachDB, Prisma Postgres and MongoDB. The SKILL.md says the Prisma 7 examples were verified with 7.10.0 and MongoDB with 6.19.3.

    Runs code · Earlier-version setup

  • Hand off to the right upgrade path instead of doing it here.

    PostgreSQL 7 to 8 uses the Prisma migration guide, MongoDB 6 to 8 uses prisma-mongodb-upgrade, and prisma-upgrade-v7 covers 6 to 7.

    Read · Major upgrades

  • Load the right env file, run checks and a read-only query.

    Reports the ORM version, the prisma-8 skill version if used, and the query result. A package install or skill sync alone does not count as done.

    Runs code · Connect and verify

From the official docs

Permissions

Medium risk

The skill installs packages, runs Prisma commands with prompts skipped and connects to your database. Use a development database and review the diff before you commit it.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It installs packages and rewrites Prisma setup

    The SKILL.md and references run prisma orm init --yes, prisma skills sync and npm installs of prisma, @prisma/client and a driver adapter. The --yes flag skips prompts, so review what it changed in your schema, config and package files. github.com

  • It connects to your database

    It loads your environment, diagnoses the connection and runs a read-only query through your client to verify. Point it at a development database first. The MongoDB reference says to review index changes before applying db push to an existing database. github.com

  • It pulls in a second skill from the Prisma package

    For Prisma 8 apps, prisma skills sync installs prisma-8 guidance from the package into a folder such as .agents/skills, and the agent then follows it. That guidance comes from the prisma/orm repo, not this one. github.com

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyNo read-only mode.
Talks toYour database host (connection test). npm registry (package installs). prisma.io docs links in the SKILL.md
Sign-in and keysThe SKILL.md says to keep credentials in ignored environment files or the host's secret configuration, and not to print secrets.
Scopes
  • Your project files and Prisma config

  • Your database connection (a read-only query to verify)

Questions

What does prisma-orm-setup do?

It makes your agent set up Prisma ORM in an app, connect the database and verify it with a query. New apps get Prisma 8. Existing Prisma 6 and 7 apps keep their version.

Is prisma-orm-setup official?

Yes. It is published in Prisma's own prisma/skills repository, and the SKILL.md names prisma as the author.

How do I install prisma-orm-setup?

Use the install box above. The README's command installs this skill. If you also need a new Prisma Postgres database, install prisma-postgres-setup as well, as the README suggests for the default Prisma Postgres workflow.

Will it upgrade my Prisma version?

Not by itself. The SKILL.md says a connection repair does not require a major upgrade, and it treats a requested major upgrade as a separate task with its own guide.

Does it work in the Claude app?

The skill runs the Prisma CLI and edits your project, and the README documents no Claude app install, so the install box has no Claude app tab.

prisma-orm-setup vs prisma-cli?

prisma-orm-setup handles setup and connection for a chosen Prisma version. The README describes prisma-cli as a reference for Prisma ORM 7 CLI commands, and says its legacy recipes should not be used for Prisma 8 setup.

Is prisma-orm-setup safe to install?

It makes your agent install packages, run Prisma commands with prompts skipped and connect to your database. Our advice: use a development database, review the diff, and keep connection strings in ignored env files, as the SKILL.md says.

Information

updated Nov 2, 2026

Repository
prisma/skills
Folder
prisma-orm-setup

prisma/skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 5
  1. prisma-orm-setup SKILL.md · github.com
  2. prisma/skills README · github.com
  3. v7-client-setup.md · github.com
  4. v6-mongodb.md · github.com
  5. prisma/skills LICENSE · github.com

Updated Nov 2, 2026.