prisma-postgres

Provision and manage Prisma Postgres databases via Console, CLI, and Management API.

9|2|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/FindMalek/dukkani --skill prisma-postgres-findmalek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-postgres
Source: https://github.com/FindMalek/dukkani/tree/main/.cursor/skills/prisma-postgres
Command: npx skills add https://github.com/FindMalek/dukkani --skill prisma-postgres-findmalek

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Addresses the complexity of setting up Prisma Postgres databases, provisioning across Console and CLI tooling (create-db, create-pg, create-postgres), and coordinating with Prisma's Management API and SDK for automated workflows.

Core Features & Use Cases

  • Guidance for interactive Prisma Console workflows to manage workspaces, projects, and database connections.
  • References for programmatic provisioning with create-db and the Prisma Postgres provisioning flows (linking local projects, regions, and auth).
  • Instructions for using the Management API and the Management API SDK in TypeScript/JavaScript to automate database lifecycles.

Quick Start

Create a temporary Prisma Postgres database with create-db, connect it to your Prisma project, and configure access via Prisma Console and the Management API.

Frequently Asked Questions about prisma-postgres

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision a Prisma Postgres database programmatically?

You can provision a Prisma Postgres database programmatically by using the Prisma Management API and its TypeScript/JavaScript SDK to automate database lifecycles, handling region selection and authentication flows via service tokens or OAuth.

What is the best way to automate Prisma Postgres database lifecycles?

Automating Prisma Postgres database lifecycles is best achieved through the Management API SDK in TypeScript or JavaScript, which allows developers to programmatically manage workspaces, projects, and database connections without manual Console interaction.

How do I connect my local Prisma project to a newly provisioned Postgres database?

To connect a local Prisma project to a newly provisioned Postgres database, use the create-db CLI tool to establish the connection, configure your access region and auth flows, and retrieve the connection string for your project setup.

Can I use service tokens or OAuth for Prisma Postgres access management?

Yes, Prisma Postgres supports token-based access management using either service tokens or OAuth, allowing you to securely handle authentication flows when provisioning databases via the Console or integrating with the Management API.

Does the Prisma Management API support interactive Console workflows for database provisioning?

Yes, the Prisma Management API and Console support both interactive and programmatic workflows for database provisioning, allowing developers to manage workspaces, projects, and database connections either manually or through automated SDK scripts.

What are the limitations of using create-db for Prisma Postgres provisioning?

The create-db tool is designed for direct database provisioning and local project linking, but complex automated database lifecycles require the Management API SDK to properly handle region, auth, and token-based access at scale.