Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
prisma avatar

Prisma Postgres

  • 7 installs
  • 2 repo stars
  • Updated July 1, 2026
  • prisma/prisma-plugin

This is a copy of prisma-postgres by prisma - installs and ranking accrue to the original listing.

prisma-postgres is a Claude Code skill for databases. It helps solo builders move faster with AI-assisted coding.

Key points

  • prisma-postgres
  • Databases
  • AI-coding skill

Prisma Postgres by the numbers

  • 7 all-time installs (skills.sh)
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/prisma/prisma-plugin --skill prisma-postgres

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs7
repo stars2
Last updatedJuly 1, 2026
Repositoryprisma/prisma-plugin

How do I helps with databases tasks during ai-assisted development?

Helps with databases tasks during AI-assisted development.

Who is it for?

Best when you're working on databases and need structured help with prisma-postgres.

Skip if: Teams with no databases needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with databases tasks during ai-assisted development, or when prisma-postgres is a claude code skill for databases. it helps solo builders move faster with ai-assisted coding.

What you get

Structured output aligned to prisma-postgres: prisma-postgres; Databases; AI-coding skill.

Files

SKILL.mdMarkdownGitHub ↗

Prisma Postgres

Guidance for creating, managing, and integrating Prisma Postgres across interactive and programmatic workflows.

When to Apply

Reference this skill when:

  • Setting up Prisma Postgres from Prisma Console
  • Provisioning instant temporary databases with create-db
  • Linking an existing local project with prisma postgres link
  • Managing Prisma Postgres resources via Management API
  • Using @prisma/management-api-sdk in TypeScript/JavaScript
  • Handling claim URLs, connection strings, regions, and auth flows

Rule Categories by Priority

PriorityCategoryImpactPrefix
1CLI ProvisioningCRITICALcreate-db-cli
2Management APICRITICALmanagement-api
3Management API SDKHIGHmanagement-api-sdk
4Console and ConnectionsHIGHconsole-and-connections

Quick Reference

  • create-db-cli - instant databases and current CLI flags (--ttl, --copy, --quiet, --open)
  • management-api - service token and OAuth API workflows
  • management-api-sdk - typed SDK usage with token storage
  • console-and-connections - Console operations, prisma postgres link, direct TCP connections, and serverless-driver choices

Core Workflows

1. Console-first workflow

Use Prisma Console for manual setup and operations:

  • Open https://console.prisma.io
  • Create/select workspace and project
  • Use Studio in the project sidebar to view/edit data
  • Retrieve direct connection details from the project UI

2. Quick provisioning with create-db

Use create-db when you need a database immediately:

npx create-db@latest

Aliases:

npx create-pg@latest
npx create-postgres@latest

For app integrations, you can also use the programmatic API (create() / regions()) from the create-db npm package.

Temporary databases auto-delete after ~24 hours unless claimed.

3. Link an existing local project

Use prisma postgres link when the database already exists and you want to wire a local project to it:

prisma postgres link

For CI or other non-interactive environments:

prisma postgres link --api-key "<your-api-key>" --database "db_..."

This flow updates your local .env with DATABASE_URL, then you can run prisma generate and prisma migrate dev.

4. Programmatic provisioning with Management API

Use API endpoints on:

https://api.prisma.io/v1

Explore the schema and endpoints using:

  • OpenAPI docs: https://api.prisma.io/v1/doc
  • Swagger Editor: https://api.prisma.io/v1/swagger-editor

Auth options:

  • Service token (workspace server-to-server)
  • OAuth 2.0 (act on behalf of users)

5. Type-safe integration with Management API SDK

Install and use:

npm install @prisma/management-api-sdk

Use createManagementApiClient for existing tokens, or createManagementApiSdk for OAuth + token refresh.

Rule Files

Detailed guidance lives in:

references/console-and-connections.md
references/create-db-cli.md
references/management-api.md
references/management-api-sdk.md

How to Use

Start with references/create-db-cli.md for fast setup, then switch to references/management-api.md or references/management-api-sdk.md when you need programmatic provisioning.

Related skills

FAQ

What does prisma-postgres do?

prisma-postgres is a Claude Code skill for databases. It helps developers move faster with AI-assisted coding.

When should I use prisma-postgres?

When you need to helps with databases tasks during ai-assisted development, or when prisma-postgres is a claude code skill for databases. it helps developers move faster with ai-assisted coding.

What are the main capabilities?

prisma-postgres; Databases; AI-coding skill.

Databasesdatabases

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.