prisma-compute

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

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/dlptho356/TTTN --skill prisma-compute-dlptho356
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/dlptho356/TTTN/tree/main/DATN/backend/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/dlptho356/TTTN --skill prisma-compute-dlptho356

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, localhost-only port binding, incorrect framework build output, and misaligned branch/env/database scope. This Skill guides agents through the correct commands, config, and troubleshooting steps so deployments succeed and are verifiable. ## Core Features & Use Cases - Deploy workflows: Create or update prisma.compute.ts with defineComputeConfig, run @prisma/cli app deploy, use generated compute:deploy scripts, and verify the public deployment URL. - Framework readiness: Check deploy readiness for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun/Elysia, custom artifacts, and Turborepo monorepos, including host/port binding rules. - Auth and operations: Manage multi-workspace OAuth sessions, PRISMA_SERVICE_TOKEN CI auth, build vs runtime logs, domains, promotions, and rollbacks. - Use Case: A user asks to deploy an existing Hono API to Prisma Compute; the Skill inspects the project, verifies auth with auth whoami --json, confirms the entrypoint binds 0.0.0.0:8080, deploys with --json --no-interactive, and curls the 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. After deploy, request the public deployment URL rather than trusting local checks.

Which frameworks does Prisma Compute deploy support?

The @prisma/cli app deploy command supports nextjs, nuxt, astro, hono, nestjs, tanstack-start, custom, and bun framework keys. SvelteKit has no dedicated key and must deploy via a custom artifact or Bun 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, since Compute readiness only checks the listening port. Also confirm the app listens on the deployed HTTP port, typically via process.env.PORT or a matching --http-port flag.

How do I authenticate @prisma/cli in CI or non-interactive environments?

Set the PRISMA_SERVICE_TOKEN environment variable with a workspace service token; a non-empty token takes precedence over stored OAuth sessions. Never print the token, and note that an empty variable causes the CLI to fail rather than fall back to browser login.

Does prisma.compute.ts configure databases or run migrations?

No. prisma.compute.ts only holds app deploy defaults like framework, entry, httpPort, and env files. Database creation, branch-scoped env vars, and migrations are handled separately through database create, project env commands, and your own migration scripts.