What problem does it solve?
Prisma Postgres setup can be slow and error-prone when you need consistent workflows across interactive Console use, CLI provisioning, and programmatic automation. This Skill provides the guidance needed to create databases, link projects, and integrate with the Prisma Management API and SDK so you can reliably obtain connection details and configure your app.
Core Features & Use Cases
- Console-to-connection workflow: Use Prisma Console to create/select resources, inspect data in Studio, and retrieve direct connection credentials.
- CLI provisioning and linking: Provision instant databases with create-db (including region selection, TTL behavior, and claiming flows) and link existing databases to local projects via prisma postgres link.
- Programmatic automation: Use Management API endpoints for service-token or OAuth-based onboarding, and integrate with the typed @prisma/management-api-sdk for safer auth and refresh handling.
- Operational connection details: Convert direct connection information into a working DATABASE_URL, including guidance for TCP/SSL and adapter choices for standard vs serverless runtimes.
Quick Start
Use the prisma-postgres Skill to provision a new database with create-db and then link your local project so your .env contains a working DATABASE_URL for Prisma.