Prisma's official skill for setting up Prisma ORM or repairing an app's database connection: it detects the app's Prisma version, defaults new apps to Prisma 8 and its package-owned skill, and keeps Prisma 6 and 7 apps on their own major.
Prisma Postgres Setup Skill
Prisma's official skill for getting an app a Prisma Postgres database: reuse an existing connection, use the Vercel Marketplace flow, spin up a no-account database with npx create-db, or provision a persistent one, then connect and verify it.
Install
Other ways to install
About
- Reuses an existing database connection or integration before creating anything
- Vercel Marketplace flow for v0 and Vercel projects
- No-account temporary databases with npx create-db (24-hour expiry unless claimed)
- Persistent provisioning via CLI, MCP tool, Console or Management API
- Stores the connection string in secret env config and handles differing env files
- Hands ORM setup to prisma-orm-setup and verifies with a read-only query
Prisma Postgres Setup is the database-provisioning skill in the prisma/skills repository, the successor to the older prisma-postgres skill name. It loads when a user needs a database and has none configured, with requests like "add a Postgres database" or "set up a database for this app", and it keeps provisioning separate from ORM configuration so an existing database is always reused rather than replaced.
The agent first inspects the project: the requested ORM or driver, installed packages, any existing connection and the environment-loading files, checking that secrets exist without printing them. It honours explicit choices such as Drizzle, pg or a database-only setup. It then picks a path from a table: reuse an existing connection or integration; follow the native Vercel Marketplace flow for v0 and Vercel projects; offer npx create-db@latest for a working database with no account, which is deleted after 24 hours unless it is claimed with a free Prisma account; or provision a standalone persistent database through an authenticated CLI, MCP tool, the Console or the Management API. It resolves workspace, project and region first, asks when several fit, and reports a permission or quota blocker instead of deleting resources or switching workspaces.
The connection string goes into the project's secret environment configuration, never into code or chat, and the agent accounts for apps and CLIs loading different env files. ORM configuration is handed to the prisma-orm-setup skill. It finishes with a read-only query through the chosen ORM or driver and a report of what was connected, and points to a bundled operations reference for Studio and later work. MIT licensed.
SKILL.md
The instructions your agent loads, as published by Prisma.
Related Skills
See all Prisma Postgres Setup alternativesNetlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.
Skill: Neon Postgres
by Neon
Neon's official agent skill for serverless Postgres — connection strings and drivers, pooled vs direct connections, branching, autoscaling, scale-to-zero, read replicas and logical replication.
Prisma's official Prisma Client reference skill: client setup with driver adapters, CRUD and bulk queries, select/include/omit, filters, relation reads and nested writes, transactions and safe raw SQL.