prisma-compute

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

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/son1cleo/databrief --skill prisma-compute-son1cleo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/son1cleo/databrief/tree/main/frontend/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/son1cleo/databrief --skill prisma-compute-son1cleo

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 workspaces, typed config files, framework-specific build outputs, and host/port binding rules. This Skill guides agents through the entire Prisma Compute deployment lifecycle so apps deploy correctly the first time. ## Core Features & Use Cases - CLI-Guided Deployment: Uses @prisma/cli app deploy and create-prisma with verified command syntax, JSON output, and non-interactive flags for agent workflows. - Typed Compute Config: Creates and validates prisma.compute.ts with defineComputeConfig for single apps, monorepos, and multi-app deploy targets. - Framework Readiness Checks: Covers Next.js standalone output, Hono, NestJS, Nuxt, Astro, TanStack Start, Bun, Elysia, and custom prebuilt artifacts, including 0.0.0.0 host binding and PORT handling. - Use Case: A user asks to deploy an existing Hono API to Prisma Compute. The Skill inspects the project, verifies auth with auth whoami, checks the entrypoint and port, runs app deploy --json --no-interactive, and verifies the public deployment URL. ## Quick Start Ask the agent to deploy your existing TypeScript app to Prisma Compute, for example: deploy my Hono API in this repo 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 app to Prisma Compute?

Use the Prisma Platform CLI with bunx @prisma/cli@latest app deploy, or the generated compute:deploy script if the project has one. Verify auth with auth whoami first, then deploy with --json --no-interactive and request the public deployment URL to confirm.

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 monorepos, multi-app targets, and reusable framework, entrypoint, port, and env defaults.

Which frameworks can deploy to Prisma Compute?

The CLI deploy supports nextjs, nuxt, astro, hono, nestjs, tanstack-start, custom, and bun framework keys. Next.js requires standalone output, TanStack Start and Nuxt need Nitro node server output, and SvelteKit has no dedicated key so it needs a custom or Bun entrypoint path.

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 reads process.env.PORT or matches the --http-port flag, then test the public URL with curl.

How do I authenticate the Prisma CLI in CI or non-interactive environments?

Set PRISMA_SERVICE_TOKEN to a workspace service token, which takes precedence over stored OAuth sessions. Locally, use auth login and auth workspace use <id> to switch between multiple stored workspaces; never print the token value.

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