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/nethangabrielb/tasks-app-practical-exam --skill prisma-compute-nethangabrielb
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/nethangabrielb/tasks-app-practical-exam/tree/main/packages/database/.agents/skills/prisma-compute
Command: npx skills add https://github.com/nethangabrielb/tasks-app-practical-exam --skill prisma-compute-nethangabrielb

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 commands, missing host/port binding, misconfigured frameworks, auth workspace confusion, and branch-scoped env mismatches. This Skill guides agents through the correct deployment workflow and helps diagnose failures. ## Core Features & Use Cases - Deployment Guidance: Walks through @prisma/cli app deploy, generated compute:deploy scripts, and create-prisma --deploy scaffolding for new projects. - Framework Readiness Checks: Covers deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, and custom prebuilt artifacts, including 0.0.0.0 host binding and PORT handling. - Config and Operations: Explains prisma.compute.ts with defineComputeConfig for single apps and monorepos, plus auth workspaces, service tokens, build logs, domains, and troubleshooting. - Use Case: You have a NestJS API in a pnpm monorepo and want to deploy it to Prisma Compute. The Skill directs you to create a prisma.compute.ts with an apps target, verify auth with auth whoami, and run app deploy api --json --no-interactive. ## Quick Start Ask the agent to deploy my existing Hono 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 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 auth first with `auth whoami` and request the public deployment URL after deploy.

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 deploy key and must use a custom prebuilt artifact 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 listens on the deployed HTTP port, typically via `process.env.PORT` or a matching `--http-port` flag.

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

prisma.compute.ts is an optional typed config using `defineComputeConfig` that stores reusable deploy defaults like framework, entry, httpPort, env, and app roots. It is not required for simple single-app deploys but is the practical way to manage monorepo or multi-app targets.

Does Prisma Compute run database migrations during deploy?▼

No, deploys never run migrations, seed data, or schema push. You must run the project's own Prisma migration commands separately and wire DATABASE_URL explicitly through `--env` files or project env commands.

How do I authenticate Prisma CLI deploys in CI?▼

Set a non-empty `PRISMA_SERVICE_TOKEN` environment variable, which takes precedence over local OAuth sessions, and run deploys with `--json --no-interactive`. Never print the token value, and unset it if you need to switch local OAuth workspaces.