prisma-compute

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

2|Updated Aug 11, 2026
One-click install
npx skills add https://github.com/MahdiaMayati/spotlight --skill prisma-compute-mahdiamayati
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/MahdiaMayati/spotlight/tree/main/spotlight-backend/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/MahdiaMayati/spotlight --skill prisma-compute-mahdiamayati

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Deploying TypeScript apps to Prisma Compute involves many moving parts: the right CLI package, auth and workspace selection, typed deploy config, framework-specific build output, and host/port binding rules. This Skill guides agents through the entire Prisma Compute lifecycle so deployments succeed on the first attempt instead of failing on misconfigured ports, wrong frameworks, or missing auth. ## Core Features & Use Cases - End-to-end deploy guidance: Covers scaffolding with create-prisma, deploying existing apps with @prisma/cli app deploy, and programmatic deploys via @prisma/compute-sdk or the Management API. - Typed config and monorepo support: Explains prisma.compute.ts with defineComputeConfig, single-app versus multi-app targets, flag precedence, and config discovery rules. - Framework readiness matrix: Details deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun/Elysia, custom artifacts, and Turborepo, including the critical 0.0.0.0 host binding and PORT rules. - Use Case: A user asks to deploy their Hono API to Prisma Compute. The Skill directs the agent to verify CLI help, check auth workspace, confirm the server binds 0.0.0.0 on port 8080, run app deploy with --json, and verify the public URL. ## Quick Start Ask the agent to deploy your existing TypeScript app to Prisma Compute, for example by saying deploy this Hono app to Prisma Compute 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 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. Verify auth with auth whoami first, then request the public deployment URL after deploy to confirm it works.

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

prisma.compute.ts is the typed Compute config using defineComputeConfig from @prisma/compute-sdk/config. It is optional for simple single-app deploys but recommended for reusable defaults and required in practice for monorepos with multiple app targets defined under the apps key.

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, while SvelteKit has no dedicated key and needs a Node adapter artifact deployed as custom.

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 or passing a matching --http-port flag.

How does authentication work for non-interactive Prisma Compute deploys?▼

Set PRISMA_SERVICE_TOKEN for CI or agent deploys; a non-empty token takes precedence over stored OAuth workspaces. For local browser auth, use auth workspace list --json and auth workspace use <id> to select among multiple stored workspace sessions, and never print token values.

Does Prisma Compute run database migrations during deploy?▼

No. Deploys never run migrations, seed data, or schema push, and prisma.compute.ts does not declare databases. Create databases with database create, manage env vars with project env commands, and run your app's own Prisma migration scripts separately after setup.