prisma-compute

Deploy TypeScript applications to Prisma Compute using the Prisma Platform CLI.

7|2|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/ysfcl/GeoMorphosis --skill prisma-compute-ysfcl
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/ysfcl/GeoMorphosis/tree/main/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/ysfcl/GeoMorphosis --skill prisma-compute-ysfcl

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, ambiguous auth workspaces, and framework-specific build requirements. This Skill guides agents through the entire Prisma Compute lifecycle so deployments succeed on the first attempt. ## Core Features & Use Cases - Deployment Guidance: Covers @prisma/cli app deploy, generated compute:deploy scripts, preview branch deploys, --no-promote candidate builds, and production promotion. - Typed Config Authoring: Create and validate prisma.compute.ts with defineComputeConfig, including monorepo multi-app targets, entrypoints, ports, and env inputs. - Framework Readiness: Framework-specific deploy rules for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, Elysia, and custom prebuilt artifacts. - Auth and Troubleshooting: Manage multiple OAuth workspaces, PRISMA_SERVICE_TOKEN CI auth, build logs vs runtime logs, and common failure recovery. - Use Case: A developer has a Hono API that deploys but is unreachable publicly. The Skill diagnoses the hard-coded localhost binding, fixes the host to 0.0.0.0, aligns --http-port 8080, and redeploys with JSON output. ## Quick Start Ask the agent to deploy your existing TypeScript 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?▼

Deploy an existing app with `bunx @prisma/cli@latest app deploy`, passing flags like `--framework`, `--entry`, `--http-port`, and `--env`. If the project has a generated `compute:deploy` script or `prisma.compute.ts`, prefer those over reconstructing flags manually.

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 single apps but recommended for reusable defaults and monorepos, where an `apps` map declares per-target roots, frameworks, entrypoints, and ports.

Which frameworks does Prisma Compute deploy support?▼

The deploy CLI supports nextjs, nuxt, astro, hono, nestjs, tanstack-start, custom, and bun framework keys. SvelteKit has no dedicated key and must deploy through 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, which passes port readiness checks but blocks public ingress. Bind on 0.0.0.0, read process.env.PORT or match --http-port, then verify the public deployment URL with curl.

How do I authenticate Prisma CLI deploys in CI?▼

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

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