prisma-compute

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

Updated Aug 10, 2026
One-click install
npx skills add https://github.com/AlvaroCG123/BancoAtividade --skill prisma-compute-alvarocg123
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/AlvaroCG123/BancoAtividade/tree/main/AtividadeBanco/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/AlvaroCG123/BancoAtividade --skill prisma-compute-alvarocg123

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, loopback-only host binding, port mismatches, and framework-specific build output requirements. This Skill guides agents through the correct commands, config, and checks so deploys succeed and are verifiable. ## Core Features & Use Cases - Deploy workflows: Create or update prisma.compute.ts with defineComputeConfig, run @prisma/cli app deploy, and verify the public deployment URL. - Framework readiness: Covers Next.js standalone output, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun/Elysia entrypoints, custom prebuilt artifacts, and Turborepo monorepos. - Auth and operations: Manage multiple OAuth workspaces, PRISMA_SERVICE_TOKEN CI auth, branch-scoped env vars and databases, build 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, fixes host binding to 0.0.0.0, 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 API 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 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, then 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 key and must deploy through a custom 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 that the port is listening. Also confirm the app listens on the deployed HTTP port, typically by reading process.env.PORT.

How do I authenticate Prisma CLI deploys in CI?▼

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 value, and use --json --no-interactive flags for non-interactive deploys.

Does prisma.compute.ts replace prisma.config.ts?▼

No, they serve different tools: prisma.config.ts configures Prisma ORM while prisma.compute.ts holds Compute deploy defaults like framework, entry, httpPort, and env. The compute config is optional for simple single-app deploys and never stores secrets or project/branch selection.

Does deploying to Prisma Compute run database migrations?▼

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.