Commit 220a3d7
docs: align Compute, Composer, Prisma 8, and Postgres docs with the current implementation (#8151)
* docs: align Compute, Composer, Prisma 8, and Postgres docs with the current implementation
Validated against prisma-cli 8.0.0-rc.4, @prisma/composer 0.7.0, and
@prisma/orm-postgres 8.0.0-rc.2, with the ORM quickstart, Composer
dev/deploy/destroy, and a Compute app deploy run end to end.
- Rewrite the Composer landing page: technical framing, a terminology
section, and two ConceptAnimation flow scenes (app graph and
declaration-to-runtime) in place of slogan prose.
- Reconcile the two CLI generations: the unified @next CLI has no deploy
verb (git push / Console / Composer); the @latest beta still ships the
one-shot app deploy the homepage flows use. State this once per
section instead of contradicting across pages.
- Fix stale facts: rc.4 command groups and PRISMA_PROJECT_ID /
PRISMA_SERVICE_ID in limitations and the CLI reference,
postgres usage in pricing, effect pin 4.0.0-beta.103 for Composer
0.7.0, Node 22.18 floors.
- Normalize service vs app terminology across Compute pages; explain the
app/apps config keys once in configuration.mdx.
- Make Prisma Postgres database-first, resolve its contradictory ORM
recommendations, and add cross-product next steps (orm/v8 -> Compute,
Composer stage = Compute preview branch, data- vs service-contract
note in Composer databases).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: standardize on prisma@next, complete the CLI reference, fix E2E-found gaps
Standardize every Prisma 8 RC page on `npx prisma@next` and drop the
repeated CLI-history callouts. Audit the Compute, Composer, and Prisma 8
CLI references against the real rc.4 help output: add the missing
service logs, telemetry, feedback, auth workspace, postgres
backup/connection, and bucket key commands, fix flag shapes, and list
the platform command groups from the Prisma 8 CLI page.
Correct the CLI config-file docs: the unified CLI reads a sectioned
prisma.config.ts (defineConfig from @prisma/cli-engine wrapping an orm
section), not prisma-next.config.ts.
Fixes driven by a fresh E2E run (Composer quote app with a Prisma
8-typed Postgres, deployed to Compute and torn down): composer deploy
works with the stored auth login session (service token is the CI
path), "type": "module" is required in Composer projects, stale local
dev emulators need --fresh, orm init scaffold facts, and a known-issue
callout for the current create-prisma@next scaffold bugs.
Restructure the Prisma 8 overview (mental model first, blog series
compressed) and the Prisma Postgres overview (create → connect → query
as the primary journey).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: move platform CLI commands into the v8 CLI section as dedicated pages
Each platform command group (auth, init, project, service, build, git,
branch, postgres, bucket, agent, telemetry, feedback) now has its own
page under /cli/v8; composer stays a sidebar link to its own reference.
Platform env vars and the JSON envelope move to CLI configuration.
/compute/cli-reference becomes a pointer page that keeps its URL, and
inbound links across compute and postgres docs are retargeted.
* docs: address CodeRabbit review findings with CLI-verified fixes
- mongodb upgrade guide: add the missing 'contract emit' before 'migration plan'
(verified live: without emit, plan silently uses the stale contract)
- migration pages: show the CLI's real next-step hints (rc prints 'prisma-cli ...',
not 'prisma-next ...') and note the bin-name quirk once per page
- migration + studio pages: npm fences for plain npx commands so package-manager
tabs render, matching the cli/v8 convention
- cli/v8/configuration: document the verified --json NDJSON shape
(envelope.error.*, envelope.nextActions)
- compute/index + branching: scope the preview-isolation claim to Compute
resources; data isolation depends on the preview DATABASE_URL
- composer/getting-started: copyable effect-override manifests for npm and pnpm
- cli/v8/auth: Afterwards -> Afterward
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: add Prisma 7 to Prisma 8 PostgreSQL migration guide (#8152)
* docs: add Prisma 7 to Prisma 8 PostgreSQL migration guide
Procedural guide for migrating a Prisma 7 PostgreSQL app to Prisma 8
incrementally, with both versions running side by side: isolate Prisma 7
behind @prisma/prisma7, add prisma@next alongside it, migrate one route
at a time, transfer migration ownership via baseline plan + db sign +
db ref, then remove Prisma 7.
Every command validated end-to-end twice in a sandbox app (Hono +
Prisma Postgres via create-db): once while authoring and once replaying
the finished guide from the Prisma 7 checkpoint on a fresh database.
Validated against prisma@8.0.0-rc.6, @prisma/orm-postgres@8.0.0-rc.4,
@prisma/cli-engine@0.2.0, @prisma/prisma7@7.10.0-dev.58.
Follows the side-by-side approach of prisma/prisma8-and-7-example
(step-0..step-3), with two reproduced deviations: contract infer on
rc.6 omits @@Map (the guide adds it, otherwise Prisma 8 queries
public.user instead of "User") and includes Prisma 7's
_prisma_migrations ledger as a PrismaMigrations model (the guide
deletes it).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: editorial rewrite of the Prisma 7 to 8 PostgreSQL guide
Restructure into outcome-oriented phases, add an incremental-migration
overview with an explicit ownership timeline, explain the migration
mental model (contract hash, migration, marker, ref) before the
ownership handoff, frame that handoff as a decision point, and replace
command-paraphrasing paragraphs with Check / Expected result notes.
Task-oriented title. All commands, code, versions, and warnings
unchanged.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* docs: remove model-voice patterns from product landing and deploy pages
Reviewer feedback on this PR identified a uniform synthetic voice across the
new pages: frontmatter descriptions echoed as opening sentences, contrast
slogans ("injected, not discovered", "refuses to guess"), stacked absolutes,
exception-packed sentences, prose restating code, and exhaustive what-to-read-
next lists. This rewrites the flagged passages on the Composer, Compute,
Prisma 8, and Postgres pages without changing any technical claims, and adds
a "Don't write like a model" section to the docs-writer skill so the patterns
are checked on future pages.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: address review feedback on CLI reference voice and JSON import requirements
Rewrite CLI and Composer reference prose per review comments: lead with
the user action, one idea per sentence, default path before exceptions,
consistent user-facing terms, and caveats as direct instructions.
Document the TypeScript 5.3+ / module setting requirement for the JSON
import attribute in the PostgreSQL upgrade guide. Fold the same patterns
into the docs-writer skill.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: sweep remaining model-voice prose across the PR's pages
Apply the reference-prose style throughout: lead with the user action,
one idea per sentence, default path before exceptions, caveats as direct
instructions, purposeful links, and no coined shorthand or implementation
language. Commands, code blocks, captured CLI output, links, and
technical claims are unchanged.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: align agent-skills docs with the three real skill sources and surface them in skill.md
Audited against the actual repositories: the prisma/skills registry (what
`prisma agent install` wraps at rc.6 — all skills for claude-code+codex by
default, no interactive picker), the prisma/prisma skills/ directory (the
consolidated prisma-8 usage skill plus two upgrade skills, installed by
`orm init`), and the single prisma-composer skill in prisma/composer.
- /ai/tools/skills: per-repo source table up front, `prisma agent install`
as the CLI path, version-pinning guidance for the prisma-8 skill, and a
Composer skill section (it was missing entirely).
- /cli/v8/agent: names the registry it installs from, states the real
defaults, options as a table, and routes to the other two skill sources.
- /compute/getting-started: replaces the incorrect "interactive picker"
claim with what no-flags install actually does; notes the one-time
`prisma init` offer.
- /cli/v8/init: --skip-skills row says which skills it skips.
- Both skill.md endpoints (docs + site) gain an "Installable agent skills"
section so an agent that discovers Prisma via skill.md finds the three
`skills add` commands and the catalog page as markdown.
Validated: lint:agent-ready, lint:links, lint:spellcheck, docs+site
types:check all pass.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Nurul Sundarani <sundarani@prisma.io>1 parent 34f3227 commit 220a3d7
84 files changed
Lines changed: 2295 additions & 1092 deletions
File tree
- .claude/skills/docs-writer
- apps
- docs
- content/docs
- (index)
- prisma-compute
- v8
- add-to-existing-project
- prisma-postgres
- quickstart
- ai/tools
- cli
- v8
- composer
- compute
- guides/v8
- runtimes
- upgrade-prisma-orm
- orm/v8
- contract-authoring
- extensions
- migrations
- postgres
- studio
- src
- components/concept-animation
- lib
- site/src/lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
157 | 179 | | |
158 | 180 | | |
159 | 181 | | |
| |||
169 | 191 | | |
170 | 192 | | |
171 | 193 | | |
| 194 | + | |
172 | 195 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments