Capability
- metadata
{
"author": "prisma",
"version": "8.0.0"
}
Topics
- Database
- CLI
- prisma
- postgres
- provisioning
- management-api
- sdk
- console
What it does
Provides guidance for provisioning and managing Prisma Postgres databases across Prisma Console, the create-db CLI, and the Management API (with TypeScript SDK support). Use this skill when setting up Prisma Postgres, provisioning temporary databases, linking existing projects, or integrating programmatic database provisioning with service tokens or OAuth.
Generated from the current SKILL.md.
Frequently asked
Does this skill cover both interactive and programmatic Prisma Postgres setup?
Yes. It covers Console-based setup, the create-db CLI for instant databases, and programmatic provisioning via Management API or the Management API SDK with service tokens or OAuth.
Can I use this skill to provision temporary databases?
Yes. The create-db CLI creates instant temporary databases that auto-delete after ~24 hours unless claimed via a claim URL.
Does this skill include SDK usage examples?
Yes. It covers the @prisma/management-api-sdk package with createManagementApiClient for existing tokens and createManagementApiSdk for OAuth + token refresh workflows.
What regions and connection options does this skill support?
The skill references region selection and connection choices including direct TCP connections and serverless-driver options, with details in the console-and-connections reference file.
Can I link an existing local Prisma project to a Prisma Postgres database?
Yes. Use `prisma postgres link` interactively or with `--api-key` and `--database` flags for CI environments; it updates your .env with DATABASE_URL.
Generated from the current SKILL.md. These answers refresh after source changes.