All skills
prisma avatar

/prisma-database-setup

@b491588 official
by prismaprisma/skills67 stars
7

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.

Use this Skill: https://skilld.dev/gh/prisma/skills/prisma-database-setup

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈49 tokens for metadata: the name and description. ≈105 when used: this file.

Description uses 2.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈197 characters, or 2.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Deprecated: prisma-database-setup

Load prisma-orm-setup with the host's skill loader or read its installed SKILL.md. If unavailable, install it from prisma/skills before continuing. It covers Prisma 6, 7, and 8 setup and connection repair.

This compatibility entry contains no setup recipes. Keep it until consumers have migrated to the replacement.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts7d5 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    This skill provides standard configuration templates and setup instructions for using the Prisma ORM with various database providers. No security issues were identified as the connection strings use generic placeholders and all recommended packages are official Prisma libraries or established database drivers.

  • Socket7d

    No alerts

  • Snyk7d

    Risk: LOW · No issues

  • Runlayer7mo

    4/9 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at b491588. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated last week
metadata
{
  "author": "prisma",
  "version": "8.0.0"
}
  • Database
  • prisma
  • postgres
  • mysql
  • sqlite
  • mongodb
  • orm
  • driver-adapter
  • schema
  • configuration

README badge

README badge for prisma/skills/prisma-database-setup

Provides configuration guides for Prisma ORM across multiple database providers including PostgreSQL, MySQL, SQLite, MongoDB, and SQL Server. Covers datasource setup, driver adapter selection, Prisma Client generation, and database-specific connection patterns.

Generated from the current SKILL.md.

Does this skill support MongoDB?
Yes, but MongoDB projects must use Prisma 6.x and keep the connection URL in schema.prisma. Do not apply the Prisma 7 SQL adapter workflow to MongoDB.
Which driver adapter should I use for PostgreSQL?
Use @prisma/adapter-pg with the pg driver for standard PostgreSQL. For Prisma Postgres (edge/serverless), use @prisma/adapter-ppg with @prisma/ppg instead.
What Node.js and TypeScript versions are required?
Node.js 20.19.0+ and TypeScript 5.4.0+ are required.
Do I need to regenerate Prisma Client after schema changes?
Yes. Run npx prisma generate after every schema change to keep the client in sync.
Does this skill work with Bun?
Yes. Use bunx --bun prisma ... for Prisma CLI commands so it runs on the Bun runtime instead of Node.js.

Generated from the current SKILL.md. These answers refresh after source changes.