skill
Prisma Compute
Deploy and operate apps on Prisma Compute with the Prisma 8 CLI. Use whenever the user mentions Prisma Compute, deploying or hosting a Prisma app, `prisma deploy`, `prisma dev module.ts`, Prisma Composer apps (`module.ts`, `compute()`, the `composer` section of `prisma.config.ts`), preview stages, deploy on push (`prisma git connect`, `prisma/cloud-deploy-action`), `prisma service` logs, versions, rollback, or custom domains, `project env`, `PRISMA_SERVICE_TOKEN`, regions, 504s, sleeping inst...
About
# Prisma Compute
Deploy TypeScript apps to Prisma Compute and operate them afterwards. Every deploy goes through a Prisma Composer app (a `module.ts` root module) and the Prisma 8 CLI, `prisma`.
Verified against `prisma` 8.0.0-rc.21 (published identically as `@prisma/cli`), `@prisma/composer` and `@prisma/composer-prisma-cloud` 0.28.0, `@prisma/compute` 0.1.0-beta.0, and `create-prisma` 0.14.1. Re-checked against `prisma` 8.0.0-rc.23, whose command surface matches rc.21, and Composer 0.30.0, which adds `node()`'s `dependencies` option (0.29.0) and narrows the supported Node.js versions. The CLI moves fast: run `npx prisma <group> --help` before using a flag this skill does not show.
## Version-Matched Skills
The installed packages ship their own agent skills, matched to the installed version:
- `prisma-platform-core-concepts`, inside `prisma`: projects, branches, services, versions, env vars, deploy on push. - `prisma-composer-core-concepts`, inside `@prisma/composer`: declaring services, modules, databases, and builds; `dev`, `deploy`, and teardown.
`npx prisma skills sync` copies them into the agent skill directories (`.claude/skills`, `.cursor/skills`, `.agents/skills`, `.devin/skills`), and `npx prisma skills list` shows what is installed. `npx prisma init` does the same and adds a `postinstall` hook that keeps them current. When those skills are installed, use them for API details. This skill covers the deploy and operations workflow and its pitfalls.
## Removed Surface
The Compute CLI from before Composer is gone. Its commands fail with `CLI.UNKNOWN_COMMAND` (removed flags with `CLI.INVALID_ARGUMENTS`), its config files are not read, and its environment variables are ignored:
| Removed | Use instead | |---------|-------------| | `@prisma/cli app deploy`, `app build`, `app run` | Your own build script, then `npx prisma deploy module.ts`; `npx prisma dev module.ts` to run locally | | `prisma.compute.ts`, `prisma.compute.json`, `defineComputeConfig` | `module.ts`, a `service.ts` per server declared with `compute()`, and the `composer` section of `prisma.config.ts` | | `init` writing a compute config | `npx prisma init` now writes a `prisma.config.ts` with only a `skills` section, adds `prisma` as a dev dependency, and syncs skills. Add the `composer` section yourself | | `compute:deploy` script | `npx prisma deploy module.ts`, or the `deploy` script current `create-prisma` generates | | `app deploy --branch <name>` | `npx prisma deploy module.ts --stage <name>` | | `app deploy --prod`, `--no-promote`, `app promote` | No `--stage` deploys production; `service version promote <version-id>` | | `app show`, `app open`, `app list-deploys`, `app show-deploy` | `service show <service>`, `service open <service>`, `service version list <service>`, `service version show <version-id>` | | `app logs` | `service logs <service>` | | `app rollback --to <id> --yes` | `service version rollback <service> --to <id> --confirm <id>` | | `app domain ...` | `service domain ... --service <service>` | | `app remove` | Remove the `provision()` from `module.ts` and deploy, or `service delete <service> --confirm <service>` | | `build logs <build-id>` | The GitHub Actions run log or the Console; `GET /v1/builds/{buildId}` for state and failing step | | `database ...` | `postgres ...` | | `project env remove` | `project env delete` | | `auth logout --workspace <id>` | `auth workspace logout <id>` | | `agent install`, `agent update`, `agent status` | `npx skills add prisma/skills --skill prisma-compute`; `npx prisma skills sync` for package skills | | `PRISMA_PROJECT_ID`, `PRISMA_APP_ID`, `PRISMA_SERVICE_ID` | `--project <id-or-name>`, the service as a positional argument, and `.prisma/local.json` from `project link` | | `/v1/apps` REST endpoints | `/v1/services` (the `/v1/apps` paths are deprecated) |
A repository with `prisma.compute.ts` or a `compute:deploy` script was set up for the removed flow. Port it to Composer ([`app-composer-setup.md`](references/app-composer-setup.md)) instead of running the old commands.
## When to Apply
- Deploying a new or existing app to Prisma Compute - Finishing the Console's **Set up Prisma Cloud deploys** pull request (`prisma-cloud/setup`) - Porting a project that uses `prisma.compute.ts`, `compute:deploy`, or `@prisma/cli app deploy` - Setting up preview stages, deploy on push, or CI deploys - Reading service logs, listing versions, promoting, or rolling back - Managing env vars, custom domains, Prisma Postgres databases, or buckets in a Compute project - Debugging a failed deploy, an unreachable service, a `504`, or work that stops when an instance sleeps
## Rule Categories by Priority
| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | CLI surface | CRITICAL | `cli-` | | 2 | App declaration | CRITICAL | `app-` | | 3 | Runtime | CRITICAL | `runtime-` | | 4 | Deploy | HIGH | `deploy-` | | 5 | Operations | HIGH | `ops-` | | 6 | Debugging | HIGH
Install
Run this command
npx skills add prisma/skillsWorks with
Manual steps
Install with `npx skills add prisma/skills`, or clone the repository and copy the `prisma-compute` folder into your Claude skills directory.
Frequently asked questions
What is the Prisma Compute skill?
Deploy and operate apps on Prisma Compute with the Prisma 8 CLI. Use whenever the user mentions Prisma Compute, deploying or hosting a Prisma app, `prisma deploy`, `prisma dev module.ts`, Prisma Composer apps (`module.ts`, `compute()`, the `composer` section of `prisma.config.ts`), preview stages, deploy on push (`prisma git connect`, `prisma/cloud-deploy-action`), `prisma service` logs, versions, rollback, or custo…
How do I install Prisma Compute?
Run this in your terminal:
npx skills add prisma/skillsWhich AI tools does Prisma Compute work with?
It works with claude_app, claude_code, claude_api, cursor, codex, windsurf, cline, zed.
Who made Prisma Compute?
prisma, released under the MIT license.
Is Prisma Compute free?
Yes, it is free to use under the MIT license.
git clone https://github.com/anthropics/skills && cp -r skills/skills/claude-api ~/.claude/skills/
npx skills add mattpocock/skills
npx skills add mattpocock/skills
npx skills add mattpocock/skills
npx skills add mattpocock/skills
npx skills add microsoft/azure-skills
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
AI Agent / MCP Server Tester
ai testing
Automated Web Security Scan
security
AI Content Quality Test
arabic content
Site Stack Detector
migration
PageSpeed Analyzer
performance
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Schema / JSON-LD Builder
ai visibility
Readability Score
arabic content
AI Cost Calculator
ai testing
Headline Analyzer
arabic content