prisma-compute

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

1|Updated Jun 18, 2026
One-click install
npx skills add https://github.com/Sima-Malla/Digital_Menu --skill prisma-compute-sima-malla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/Sima-Malla/Digital_Menu/tree/main/my-app/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/Sima-Malla/Digital_Menu --skill prisma-compute-sima-malla

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, and misconfigured prisma.compute.ts files. This Skill guides agents through the correct deploy, config, and troubleshooting workflow so apps actually become reachable on their public URL. ## Core Features & Use Cases - Deployment workflows: Create, deploy, promote, roll back, and inspect Compute apps with @prisma/cli app deploy, including preview branches, --no-promote candidates, and GitHub push-to-deploy. - Typed Compute config: Author prisma.compute.ts with defineComputeConfig for single apps or monorepo multi-app targets, with correct flag-over-config precedence. - Framework readiness: Validate 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 handling. - Use Case: A user says their Hono API deploys successfully but the public URL times out. The Skill diagnoses the hard-coded localhost listener, fixes host/port binding, redeploys with --json --no-interactive, and verifies the public deployment URL with curl. ## Quick Start Ask the agent to deploy your existing app to Prisma Compute and verify the public deployment 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 TypeScript app to Prisma Compute?

Use bunx @prisma/cli@latest app deploy with flags like --framework, --entry, --http-port, and --env, or run the generated compute:deploy script if the project has one. Do not run create-prisma inside an existing app just to deploy it.

Which frameworks can deploy to Prisma Compute?

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 Node adapter artifact via framework custom or a Bun entrypoint.

Why is my Prisma Compute app 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 the wrong port. Compute readiness only checks the port, so a loopback listener can look ready while public ingress cannot reach it.

Do I need a prisma.compute.ts file to deploy?

No, a simple single app can deploy with explicit app deploy flags. The config file is useful for reusable defaults and for monorepos where multiple app targets need distinct roots, frameworks, entrypoints, and env files.

How do I authenticate Prisma Compute deploys in CI?

Set a non-empty PRISMA_SERVICE_TOKEN environment variable, which takes precedence over local OAuth workspaces, and run deploys with --json --no-interactive. Never print the token value, and unset it before switching local OAuth workspaces.

Does a Prisma Compute deploy run database migrations?

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 app's own Prisma migration scripts separately after setup.