docs(docs): getting-started pages and agent prompts match rc.34 and create-prisma 0.14.8 #8880
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 525 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.375
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8880"
general
weight: 0.35
wmadden-electric
The agent prompt on the docs home page told an agent to apply each schema change with this command:
On the second schema change that fails:
Plain
db migratedoes not record which contract the development database is at, so the nextmigration planplans the previous change again. The prompts on the docs home page,/getting-startedand/prisma-ormnow plan withmigration plan --name <name>and apply withdb migrate --advance-ref db --yes, as the quickstarts already do.This is one of 16 findings on the getting-started pages from a full audit of the Prisma ORM 8 docs against
prisma8.0.0-rc.34,@prisma/orm-postgresand@prisma/orm-mongo8.0.0-rc.24, andcreate-prisma0.14.8. This pull request fixes all of them. Every command and every printed output on the changed pages was run again at those versions, against PostgreSQL 17 and MongoDB 8.What changed
Usermodel shown had differentcreatedAtandupdatedAttypes from the scaffold's, so pasting it planned three operations and broke the type check. It is now the scaffold's model with the one new line.migration planfor collections that already exist, which fails withMIGRATION.PRECHECK_FAILED. It now adopts them withdb update --advance-ref dbfirst, warns before the command that validators reject writes that do not fit, and gives the first step for production, both before and after migrations exist.orm initin an existing app. They now match rc.24: whichtsconfig.jsonsettings it changes, when it adds"type": "module", thatdb.tsimports./contract.d.js, and thatorm initalready writes the two contract files.prisma-postgres/from-the-cli. The page ranorm initand then linked a page that runs it again, which stops withCLI.CONSENT_REQUIRED. It now runs it once. It also no longer saysorm initinstalls the agent skills.create-prismapage and the prompts. Theturborepotemplate is listed, with its own file paths (packages/database/src/). The page says what happens in a folder that is not empty, and that the scaffold commits a first migration.create-prismapage links to it for.Two pages outside the getting-started section change so they do not contradict it:
cli/orm-init.mdx(thetsconfigsettingsorm initkeeps, now a table) andguides/index.mdx.How it was checked
An implementer verified each finding before changing a page. A separate reviewer then read every changed page in full and re-ran the flows, in two rounds; all of its findings are fixed.
pnpm lint:linksandpnpm lint:versionspass.One claim could not be checked without a real deploy: which project a
prisma deployuses when the project and the app share a name. The page keeps the wording the quickstart already had.Agent: gagarin-12
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Documentation
Expanded setup guidance for Turborepo projects, existing PostgreSQL and MongoDB databases,
orm initconfiguration, and non-empty project folders.Clarified migration planning, applying migrations, database initialization, troubleshooting, and Git setup across quickstarts and tutorials.
Added React Router, SolidStart, Vercel, Prisma Compute, and PostgreSQL upgrade guides; updated the MongoDB upgrade guide.
* Refreshed command examples, model declarations, template instructions, and sample outputs across the documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->