prisma-postgres
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
Skill by prisma
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/velclaw-prisma-postgres-99d89e
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
prisma-postgres- Description
- Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK. Use when creating Prisma Postgres databases, working in Prisma Console, provisioning with create-db/create-pg/create-postgres, or integrating programmatic provisioning with service tokens or OAuth.
- License
- MIT
- Metadata
- author: prisma · version: 7.7.0
- Instructions
- 134 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- console-and-connections.md · references/
- create-db-cli.md · references/
- management-api-sdk.md · references/
- management-api.md · references/
SKILL.md (first lines)
# 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 | Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | CLI Provisioning | CRITICAL | `create-db-cli` | | 2 | Management API | CRITICAL | `management-api` | | 3 | Management API SDK | HIGH | `management-api-sdk` | | 4 | Console and Connections | HIGH | `console-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: ```bash npx create-db@latest ``` Aliases: ```bash 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. ### 2b. Persistent databases with the Platform CLI For databases that belong to a Project (not throwaway `create-db` databases), use `@prisma/cli`: ```bash npx -y @prisma/cli@latest database create main --branch main npx -y @prisma/cli@latest database list --json npx -y @prisma/cli@latest database connection create db_123 npx -y @prisma/cli@latest database usage db_123 npx -y @prisma/cli@latest database backup list db_123 ``` `database create` and `database connection create` print a one-time connection URL; store it immediately. Destructive commands (`remove`, `restore`) require exact `--confirm <id>`. ### 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: ```bash prisma postgres link ``` For CI or other non-interactive environments: ```bash 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: ```text 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: ```bash npm install @prisma/management-api-sdk ``` Use `createManagementApiClient` for existing tokens, or `createManagementApiSdk` for OAuth + token refresh. ## Rule Files
From Velclaw/.velclaw, MIT.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 22, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 7.7.0
- License
- MIT
- Repository
- github.com/Velclaw/.velclaw
- Website
- velclaw.cfd
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.550score
prisma-postgres
prisma
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
SkillBFreshness: B★ 2Claude Code +9 - 0.347score
prisma-postgres
prisma
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
SkillAFreshness: A★ 1Claude Code +9 - 0.347score
prisma-postgres
prisma
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
SkillAFreshness: A★ 1Claude Code +9 - 0.311score
prisma-postgres
prisma
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
SkillBFreshness: BClaude Code +9 - 0.281score
prisma-postgres
prisma
Prisma Postgres setup and operations guidance across Console, create-db CLI, Management API, and Management API SDK.
SkillCFreshness: CClaude Code +9
More from prisma
- 0.760score
prisma-compute
prismaOfficial
Deploy and operate apps on Prisma Compute with the Prisma 8 CLI.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-mongodb-upgrade
prismaOfficial
Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-orm-setup
prismaOfficial
Set up Prisma ORM in an application, connect its database, or troubleshoot the connection of an existing Prisma 6, 7, or 8 app.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-postgres-setup
prismaOfficial
Obtain or reuse a Prisma Postgres database and connect an application.
SkillAFreshness: A★ 76Claude Code +9 - 0.760score
prisma-upgrade-v7
prismaOfficial
Complete migration guide from Prisma ORM v6 to v7 covering all breaking changes.
SkillAFreshness: A★ 76Claude Code +9 - 0.756score
prisma-cli
prismaOfficial
Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows.
SkillAFreshness: A★ 76Claude Code +9
Cite this page
prisma-postgres skill. Agent Mart. https://agentmart.dev/skills/velclaw-prisma-postgres-99d89e (last updated 2026-10-24)