prisma-compute

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

Updated Aug 7, 2026
One-click install
npx skills add https://github.com/Sambhav242005/Major-Project --skill prisma-compute-sambhav242005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/Sambhav242005/Major-Project/tree/main/apps/web/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/Sambhav242005/Major-Project --skill prisma-compute-sambhav242005

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 workspaces, loopback-only host binding, port mismatches, and misconfigured prisma.compute.ts files. This Skill guides agents through the correct deploy, config, and troubleshooting paths so apps actually become reachable in production. ## Core Features & Use Cases - Deploy Operations: Create, deploy, promote, roll back, and inspect Compute apps with @prisma/cli app deploy, including non-interactive JSON output for CI and agents. - Typed Compute Config: Author and validate prisma.compute.ts with defineComputeConfig for single apps, monorepos, and multi-app targets. - Framework Readiness: Verify deploy readiness for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, and custom prebuilt artifacts, including host/port binding rules. - Use Case: A user has a Hono API that deploys successfully but is unreachable publicly. The Skill diagnoses the hard-coded localhost binding, fixes it to 0.0.0.0, aligns --http-port 8080, and redeploys with verified public URL checks. ## 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 generated `compute:deploy` script if the project has one, otherwise run `bunx @prisma/cli@latest app deploy` with flags like `--framework`, `--http-port`, and `--env`. Verify auth first with `auth whoami` and confirm the public deployment URL after deploy.

Which frameworks does Prisma Compute deploy support?

The CLI deploy supports nextjs, nuxt, astro, hono, nestjs, tanstack-start, custom, and bun framework keys. SvelteKit has no dedicated deploy key and must use a custom prebuilt artifact or a Bun server entrypoint.

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

The most common cause is binding the server to localhost or 127.0.0.1 instead of 0.0.0.0, or listening on a port that does not match the deployed HTTP port. Compute readiness only checks the port, so a loopback listener can appear ready while public ingress fails.

What is prisma.compute.ts and when do I need it?

prisma.compute.ts is a typed config using defineComputeConfig that stores reusable deploy defaults like framework, entry, httpPort, env, and app roots. It is optional for simple single apps but recommended for monorepos and multi-app targets via the `apps` key.

How do I authenticate Prisma CLI deploys in CI?

Set a non-empty PRISMA_SERVICE_TOKEN environment variable, which takes precedence over stored OAuth workspaces. Use `--json --no-interactive` flags and never print the token value in logs.

Does Prisma Compute deploy run database migrations automatically?

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