prisma-compute

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

1|2|Updated Aug 14, 2026
One-click install
npx skills add https://github.com/byEduarda/TrabalhoFinal-EJCM2026.2 --skill prisma-compute-byeduarda
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/byEduarda/TrabalhoFinal-EJCM2026.2/tree/main/back/src/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/byEduarda/TrabalhoFinal-EJCM2026.2 --skill prisma-compute-byeduarda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @prisma/cli, create-prisma, @prisma/compute-sdk, @prisma/management-api-sdk, and includes references (resource) components.

What problem does it solve? Deploying TypeScript apps to Prisma Compute involves many moving parts: CLI auth and workspace selection, typed deploy configs, framework-specific build requirements, host/port binding, and branch-scoped env and database wiring. This Skill guides agents through the entire Prisma Compute lifecycle so deployments succeed without misconfiguration. ## Core Features & Use Cases - Deploy workflows: Create, deploy, promote, roll back, and inspect Compute apps with @prisma/cli app deploy, including non-interactive JSON output for CI and agents. - Typed config management: Author prisma.compute.ts with defineComputeConfig for single apps or monorepo multi-app targets, with correct flag-over-config precedence. - Framework readiness: Validate deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, Elysia, and custom prebuilt artifacts, including 0.0.0.0 binding and port matching. - Use Case: You have an existing Hono API and want it live on Prisma Compute. The Skill walks through auth verification, config generation with init, a local app build check, deployment with --json --no-interactive, and verification of the public URL. ## Quick Start Ask the agent to deploy your existing app to Prisma Compute, for example: deploy my 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 Prisma Platform CLI with bunx @prisma/cli@latest app deploy, passing flags like --framework, --entry, --http-port, and --env. If the project has a generated compute:deploy script or a prisma.compute.ts config, prefer those over reconstructing flags manually.

Which frameworks can deploy to Prisma Compute?▼

The CLI deploy supports nextjs, nuxt, astro, hono, nestjs, tanstack-start, custom, and bun framework keys. SvelteKit has no dedicated deploy key and must use a Node adapter artifact via the custom framework or a 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 by reading process.env.PORT.

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

No. prisma.compute.ts holds Compute deploy defaults like framework, entry, httpPort, and env files, while prisma.config.ts belongs to Prisma ORM. Never put Compute deploy settings in prisma.config.ts or secrets in prisma.compute.ts.

How do I authenticate Prisma Compute deploys in CI?▼

Set a non-empty PRISMA_SERVICE_TOKEN environment variable, which takes precedence over stored OAuth sessions. Combine it with --json --no-interactive flags, and never print the token value in logs.

Do Prisma Compute deploys run database migrations automatically?▼

No. Deploys never run migrations, seed data, or schema push. Create databases with database create, wire env vars with project env commands, and run your app's own Prisma migration scripts separately.