Repository navigation
feat(prisma-postgres-setup): trigger on "I need a database" and create-db - #32
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
…e-db The skill description only matched "set up Prisma Postgres", "connect my app to Prisma Postgres", v0 and the Vercel Marketplace, so an agent asked for "a database" in a project with no connection never loaded it. - description: add the no-database-yet and create-db triggers; keep reuse of an existing connection and an explicit provider choice first - routing table: a "no database yet and no provider named" row after the Marketplace row, offering create-db or a persistent database - provisioning: create-db fits a user who needs a database now; links point at the canonical /docs/postgres/npx-create-db page - README: matching "Use when" sentence - version 2.1.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
@prisma-gizmo review |
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.
What
prisma-postgres-setupnow loads when a user needs a database and has none configured, or runscreate-db, not only when they name Prisma Postgres. Three files,prisma-postgres-setupand its README entry only.prisma-postgres-setup/SKILL.mddescriptionadds "I need a database", "add a Postgres database", "set up a database for this app" andcreate-db/npx create-dbas triggers, and says the skill reuses an existing connection first and honors an explicit provider, driver, alternative ORM, or database-only choice (523 characters; the Agent Skills limit is 1024).prisma-postgres-setup/SKILL.mdnpx create-db@latest(no account to create; deleted after 24 hours unless claimed; claiming needs a free Prisma account) or a persistent database, and asks which one when the request does not say.prisma-postgres-setup/SKILL.mdmetadata.version2.0.0 → 2.1.0prisma-postgres-setup/references/provisioning.mdcreate-dbwhen the user needs a working database now and has no connection or Prisma account." The 24-hour, claim URL and Prisma-account lines stay. Both create-db links point at the canonical page.README.mdNot touched:
prisma-compute/andprovisioning.mdline 10, which #31 edits. #31 bumps this skill to 2.0.1; whichever PR merges second keeps 2.1.0 (that version line is the only overlap; README andprovisioning.mdmerge cleanly with #31).Why
The 2.0.0 description fires only on "set up Prisma Postgres", "connect my app to Prisma Postgres", v0 or the Vercel Marketplace, and
provisioning.mdsaid to usecreate-db"only when a temporary, claimable development database fits the request". An agent asked "I need a database" in a project with noDATABASE_URLnever reaches this skill, so it never offerscreate-dbor a Prisma Postgres database. The new row keeps the existing order: reuse an existing connection, honor a named provider, then offer the two options.The old docs links (
/docs/postgres/introduction/npx-create-db) return a 308 to/docs/postgres/npx-create-db.Sources (checked 2026-10-12)
#claiming-your-databaseanchor exists.create-db1.2.1 (npmlatest):createandregionssubcommands;--region,--interactive,--json,--env,--ttl,--copy,--quiet,--open; programmaticcreate()andregions()(publisheddist/index.d.mts).How verified
git diff origin/main --stat: 3 files, nothing underprisma-compute/.git merge-treeagainst fix(prisma-compute): teach the Composer deploy surface of the Prisma 8 CLI #31's head (fc11ec9): one conflict, themetadata.versionline.🤖 Generated with Claude Code