← Explore all skills

APPLICATION DEPLOYMENT / Prisma

Prisma Compute

Pins Prisma's Compute skill, which checks auth before app mutations and separates a non-promoting build from a production deploy.

“Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, Compute auth/workspaces, apps/deployments/build logs/domains, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts.”

01 / THE REASONING

Why this made the selection.

  • A non-empty service token is the auth source, an empty token should fail closed, and a failed workspace must not fall through to another cached session.
  • init will not deploy over an existing config, --prod --yes is only for an intended production deploy, and --no-promote leaves the live deployment untouched.

02 / THE REVIEW RECORD

What we actually inspected.

Source review has boundaries.
A clear record is more useful than a “safe” badge.

Material inspected

  • prisma-compute/SKILL.md
  • README.md
  • LICENSE

Our findings

  • A non-empty PRISMA_SERVICE_TOKEN overrides local OAuth, and an empty token should fail instead of falling back.
  • If the active OAuth workspace fails refresh, the CLI should not silently use another cached workspace.
  • Logging out one workspace is separate from plain auth logout, which clears every local OAuth session.
  • While a service token is set, auth workspace use is unavailable until that variable is unset.
  • init refuses when any config already exists, and it does not scaffold or deploy.
  • A non-promoting deploy builds a candidate without touching the live deployment, and the production flag is only for an intended production deploy.
  • Secrets are not printed or committed in prisma.compute.ts, and a placeholder database URL is not deployed.

Not established by this review

  • The resource was not executed and no Prisma CLI command was run.
  • No app was deployed, promoted, or logged out.
  • references/app-deploy-cli.md, compute-config.md, frameworks.md, create-prisma.md, sdk-api.md, and troubleshooting.md were not opened.
  • Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

Add a skill to your workflow.

Upstream setup instructions ↗

DOCUMENTED COMMAND

npx skills add prisma/skills --skill prisma-compute

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

  1. The repository README lists `npx skills add prisma/skills --skill prisma-compute` under specific-skill installs.
  2. The same README also shows `npx skills add prisma/skills`, which installs all skills. That is not the command recorded here.
  3. This review did not run either command.

Before you start

  • npx, because the README install line uses npx
  • A Prisma service token or a stored OAuth workspace, as the skill describes before project or app mutations

04 / FOLLOW THE EVIDENCE

The source trail.

Our notes are separate from the original resource.
Check upstream before adopting a new version.

  1. prisma-compute SKILL.md ↗Checked

    https://github.com/prisma/skills/blob/be16a8740d01363d13552b317042431ee8dfc581/prisma-compute/SKILL.md

    Supports: service-token precedence, no workspace fallthrough, init refusal, and production versus no-promote deploys

  2. Repository README ↗Checked

    https://github.com/prisma/skills/blob/be16a8740d01363d13552b317042431ee8dfc581/README.md

    Supports: the prisma-compute install line and the MIT statement

  3. Repository LICENSE ↗Checked

    https://github.com/prisma/skills/blob/be16a8740d01363d13552b317042431ee8dfc581/LICENSE

    Supports: MIT License

  4. https://raw.githubusercontent.com/prisma/skills/be16a8740d01363d13552b317042431ee8dfc581/prisma-compute/SKILL.md

    Supports: upstreamDescription, limitations, review.notTested, review.reviewedAt

Evidence & Ask