prisma-compute

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

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/Hugo-Ferrari/finances --skill prisma-compute-hugo-ferrari
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/Hugo-Ferrari/finances/tree/main/api/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/Hugo-Ferrari/finances --skill prisma-compute-hugo-ferrari

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @prisma/cli, create-prisma, @prisma/compute-sdk, @prisma/management-api-sdk, and includes references (resource) components.

What problem does it solve? Deploying TypeScript apps to Prisma Compute involves many failure points: wrong CLI package, missing typed config, localhost-only port binding, wrong framework build output, and auth/workspace confusion. This Skill guides agents through the correct Prisma Compute deployment workflow so apps actually deploy and stay reachable. ## Core Features & Use Cases - CLI-Guided Deployment: Uses @prisma/cli app deploy, create-prisma, and generated compute:deploy scripts with verified command syntax and JSON output for automation. - Typed Compute Config: Creates and maintains prisma.compute.ts with defineComputeConfig for single apps, monorepos, multi-app targets, and custom build artifacts. - Framework Readiness: Validates deploy readiness for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun/Elysia, and custom artifacts, including 0.0.0.0 host binding and correct HTTP port. - Use Case: You have a Hono API in a Turborepo that deploys but is unreachable. The Skill diagnoses the loopback-only listener, fixes host/port binding, wires branch-scoped env vars, and redeploys with a verified public 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 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 the public deployment URL afterward rather than trusting local checks.

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

prisma.compute.ts is the typed Compute config created with `defineComputeConfig` from `@prisma/compute-sdk/config`. It is optional for simple single-app deploys but recommended for monorepos, multi-app targets, reusable framework defaults, and custom build artifacts.

Which frameworks does Prisma Compute deploy support?▼

The deploy CLI 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; SvelteKit has no dedicated key and needs a custom Node artifact.

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

How do I authenticate Prisma Compute deploys in CI?▼

Set a non-empty `PRISMA_SERVICE_TOKEN` environment variable, which takes precedence over stored OAuth workspaces. Never print the token, and use `--json --no-interactive` flags for non-interactive deploy commands.

Does Prisma Compute run database migrations during deploy?▼

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 Prisma migration scripts separately after setup.