Repository navigation
feat(prisma-postgres-setup): cover the Vercel CLI path, env vars, first query and errors - #33
Open
gregory-boch-prisma wants to merge 1 commit into
Open
gregory-boch-prisma wants to merge 1 commit into
gregory-boch-prisma wants to merge 1 commit into
Conversation
…st query and errors Vercel's partner guide asks for a provider skill that covers setup, environment variables, a first successful request, validation and common errors. The Marketplace reference only covered the v0 flow. - Install and provision with `vercel integration add prisma/prisma-postgres`, including terms acceptance, plan IDs and the default three-environment connect. - The three variables the integration sets (DATABASE_URL, POSTGRES_URL, PRISMA_DATABASE_URL), all the direct db.prisma.io endpoint, and when to move application traffic to the pooled endpoint. - First query, redeploy after connecting, validation commands. - Plans, billing and backups on Vercel. - Seven common errors with causes and fixes. - SKILL.md routes Vercel-linked projects to this reference; version 2.1.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Vercel's partner guide ("Grow your Vercel integration installs") names the agent skill as the main way to get more CLI installs. It asks that the skill cover setup, environment variables, a first successful request, validation and common errors. Vercel serves
prisma-postgres-setupandprisma-orm-setupfrom the Prisma Marketplace listing, and the CLI installs them when someone runsvercel integration add prisma. Todayreferences/vercel-marketplace.mdcovers only the v0 flow.What changed
prisma-postgres-setup/references/vercel-marketplace.md:vercel integration list,resource connect). Thenvercel integration add prisma/prisma-postgres: read--helpfor the region values, plan IDsfree/starter/pro/business, and terms acceptance in the browser, which an agent can't do. By default the resource connects to production, preview and development, so all three share one database.DATABASE_URL,POSTGRES_URLandPRISMA_DATABASE_URL. All three hold the directdb.prisma.ioendpoint. On older resourcesPRISMA_DATABASE_URLcan be an Accelerate URL. The section covers when to tell the user to move application traffic topooled.db.prisma.io.vercel env pull/vercel env run, the ORM handoff,SELECT 1, redeploying after connecting, andvercel integration list/vercel env ls.DATABASE_URLmissing in the CLI, the Accelerate URL inPRISMA_DATABASE_URL, a stale deployment, connection limits, and a shadow database or reset run against the connected database (the last one from a real support case on 2026-10-12).prisma-postgres-setup/SKILL.md: the routing row now includes "a Vercel project", and the version goes from 2.0.0 to 2.1.0.Sources
pdp-control-planeservices/marketplaces/vercel/utils.ts(buildProvisioningSecrets) andindex.ts(provisioning, secret rotation), main atdae59d3e.services/marketplaces/vercel/data/product.tsanddata/billing.ts.Not verified yet
Merge note
#32 also bumps this skill to 2.1.0. Whichever PR merges second should take 2.2.0. The two also touch neighbouring lines of the routing table.
🤖 Generated with Claude Code