What is the Prisma Postgres Setup skill?
Prisma Postgres Setup is a backend skill by prisma for Claude Code, Cursor, Codex and other AI coding agents. 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.
Connect the intended database, then verify it from the application. Keep provisioning separate from ORM configuration so an existing database is reused.
When to use it
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.
What the SKILL.md covers
- 1. Inspect the project
- 2. Reuse or obtain a database
- 3. Connect the application
- 4. Configure the ORM and verify
- Author
- prisma
- Pack
- prisma/skills (11 skills)
- Category
- Backend, #226 of 317
- Alyn Score
- 62 / 99
- Files
- 4, includes references
- License
- MIT
- Last updated
- 30 h ago
- Works with
- Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot
Prisma Postgres Setup compared to similar skills
| Skill | Alyn Score | GitHub stars | Updated |
|---|---|---|---|
| Prisma Postgres Setup · prisma | 62 | 80 | 30 h ago |
| Connect Recommend · Stripe | 71 | 2.1k | 2 days ago |
| Backup Setup · thedotmack | 84 | 120k | 27 h ago |
| Golang Popular Libraries · samber | 77 | 4k | 17 days ago |
Install Prisma Postgres Setup
Pick your agent. Every command is ready to paste.
npx alyn-cli add prisma-postgres-setupDetects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
npx skills add prisma/skills --skill prisma-postgres-setupOr use the open skills CLI directly.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads prisma-postgres-setup when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the prisma-postgres-setup skill”. In Codex, type $prisma-postgres-setup.
Prisma Postgres setup
Connect the intended database, then verify it from the application. Keep provisioning separate from ORM configuration so an existing database is reused.
1. Inspect the project
Check the user's requested ORM or driver, installed packages, database connection, and environment-loading files. Check secret presence without printing values.
- Honor explicit choices such as Drizzle,
pg, or database-only setup. - For query or schema work in an already configured app, use its version-matched ORM guidance; do not restart setup.
2. Reuse or obtain a database
| Situation | Action |
|---|---|
| Existing connection or connected integration | Verify its project, database, and environment; reuse it. |
| v0, Vercel Marketplace, or a Vercel project | Read Marketplace setup and use the native integration flow. |
| No database yet and no provider named | Offer npx create-db@latest for a working database now with no account (it is deleted after 24 hours unless claimed, and claiming needs a free Prisma account; read the create-db section in provisioning), or a persistent database through provisioning. Ask which one when the request does not say. |
| Standalone persistent database | Read provisioning; use an authenticated CLI, MCP tool, Console, or Management API. |
| Temporary development database requested | Read the create-db section in provisioning, including expiry and claiming. |
Resolve the workspace, project, and region before creation. If several resources fit, ask which one to use. If provisioning is blocked by permissions or quota, report the blocker; do not delete another resource or switch workspaces to get around it.
3. Connect the application
Use the connection appropriate to the chosen driver and runtime. Store it in the project's secret environment configuration, never source code or chat. Preserve unrelated entries, update the intended variable once, and ensure local secret files are ignored by Git.
Application processes and CLI commands may load different environment files. For example, a framework may load .env.development.local while a shell command does not. A variable missing from the shell does not mean the database is missing: load the intended file for that command without displaying credentials, and do not provision another database.
4. Configure the ORM and verify
For Prisma ORM setup, read prisma-orm-setup/SKILL.md directly, or load the installed prisma-orm-setup skill when the host resolves sibling skills by name. It owns ORM version selection and configuration. If that handoff is unavailable, report it.
For an explicitly selected alternative, keep that ORM or driver and use its documented setup. For database-only setup, stop after verifying connectivity.
Run a read-only query against the intended database through the application's chosen ORM or driver. Report what was connected, the selected ORM/version, and the query result without secrets. If any step is blocked or untested, say so instead of claiming setup is complete.
For Studio, SDK integrations, or database operations beyond initial setup, read operations.
Tips for Prisma Postgres Setup
- • Start a fresh session after installing so your agent picks up the new skill.
- • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
- • It is part of a pack with 11 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Prisma Postgres Setup
What does the Prisma Postgres Setup skill do?
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.
How do I install Prisma Postgres Setup?
Run "npx alyn-cli add prisma-postgres-setup" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Prisma Postgres Setup work in Cursor and Codex?
Yes. Prisma Postgres Setup uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
When should I use the Prisma Postgres Setup skill?
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.
What is inside the Prisma Postgres Setup skill?
The SKILL.md covers 1. Inspect the project, 2. Reuse or obtain a database, 3. Connect the application, 4. Configure the ORM and verify, and the skill folder has 4 files.
What is a good alternative to Prisma Postgres Setup?
Connect Recommend by Stripe is the highest-ranked similar skill from another creator, with an Alyn Score of 71 compared to 62 for Prisma Postgres Setup.
Is Prisma Postgres Setup free?
Prisma Postgres Setup is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Prisma Postgres Setup?
Prisma Postgres Setup is published by prisma in the prisma/skills repository, together with 10 other skills.

