prisma-compute

Deploy and manage TypeScript applications on Prisma Compute using the Prisma Platform CLI.

Updated Jul 28, 2026
One-click install
npx skills add https://github.com/ArvindIyer1/prediction-market-project --skill prisma-compute-arvindiyer1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/ArvindIyer1/prediction-market-project/tree/main/packages/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/ArvindIyer1/prediction-market-project --skill prisma-compute-arvindiyer1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deploying TypeScript apps to Prisma Compute involves many failure points: wrong CLI package, missing auth workspace selection, loopback-only host binding, port mismatches, misconfigured prisma.compute.ts files, and framework-specific build requirements. This Skill guides agents through the correct commands, config shapes, and troubleshooting steps so deployments succeed on the first attempts. ## Core Features & Use Cases - Deployment workflows: Create, deploy, promote, roll back, and inspect Compute apps with @prisma/cli app deploy, including non-interactive JSON output for automation. - Typed config management: Author prisma.compute.ts with defineComputeConfig for single apps or monorepo multi-app targets, with correct flag-over-config precedence. - Framework readiness checks: Verify deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, Elysia, and custom prebuilt artifacts, including 0.0.0.0 host binding and port alignment. - Use Case: A user asks to deploy a Hono API in a Turborepo to Prisma Compute. The Skill directs the agent to create a root prisma.compute.ts with an apps map, verify auth with auth workspace list --json, run app deploy api --json --no-interactive, and then curl the public deployment URL. ## Quick Start Ask the agent to deploy your existing app to Prisma Compute, for example: "Deploy this Hono app to Prisma Compute on port 8080 and verify the public URL."

Frequently Asked Questions about prisma-compute

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy an existing app to Prisma Compute?

Use the Prisma Platform CLI with `bunx @prisma/cli@latest app deploy`, or run the generated `compute:deploy` script if the project has one. Add `--json --no-interactive` for automation and `--env .env` to load environment variables.

Which frameworks can deploy to Prisma Compute?

The deploy command supports nextjs, nuxt, astro, hono, nestjs, tanstack-start, custom, and bun framework keys. Elysia and plain servers deploy through the bun key with an explicit entrypoint, while SvelteKit needs a Node adapter artifact via the custom framework.

Why is my Prisma Compute deployment unreachable after a successful deploy?

The most common cause is the server binding to localhost or 127.0.0.1 instead of 0.0.0.0, since Compute readiness only checks the listening port. Also confirm the app listens on the deployed HTTP port, typically by reading process.env.PORT.

How do I deploy multiple apps from a monorepo to Prisma Compute?

Place a `prisma.compute.ts` at the repo root using `defineComputeConfig` with an `apps` map, giving each target its own root, framework, entry, and env settings. Then deploy a specific target with `app deploy <target-name>` or deploy all targets with a bare deploy command.

Does Prisma Compute run database migrations during deployment?

No, deploys never run migrations, seed data, or schema push. Create databases with `database create`, set env vars with `project env` commands, and run your project's own migration scripts separately after setup.

How do I authenticate Prisma Compute deploys in CI?

Set the PRISMA_SERVICE_TOKEN environment variable with a workspace service token, which takes precedence over stored browser-login credentials. Verify auth with `auth whoami` and never print the token value in logs.