prisma-compute

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

Updated Aug 18, 2026
One-click install
npx skills add https://github.com/Shofikul-Isl4m/trading-app --skill prisma-compute-shofikul-isl4m
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/Shofikul-Isl4m/trading-app/tree/main/packages/db/.agents/skills/prisma-compute
Command: npx skills add https://github.com/Shofikul-Isl4m/trading-app --skill prisma-compute-shofikul-isl4m

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 actually work. ## 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 artifacts, and Turborepo monorepo targets. - Auth and operations: Handles PRISMA_SERVICE_TOKEN, multi-workspace OAuth switching, branch-scoped env and databases, build logs, domains, and SDK/API automation. - Use Case: You have a Hono API in a Turborepo and want it live on Prisma Compute. The Skill walks through generating a config, binding to 0.0.0.0 on the right port, deploying with JSON output, and verifying 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 generated compute:deploy script if the project has one, otherwise run bunx @prisma/cli@latest app deploy with flags like --framework, --entry, --http-port, and --env. Verify the public deployment URL afterward rather than trusting local checks.

Which frameworks does Prisma Compute deploy support?

The deploy CLI 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 readiness only checks the listening port. Also confirm the app listens on the deployed HTTP port, typically via process.env.PORT.

Do I need a prisma.compute.ts file to deploy?

No, a simple single app can deploy with explicit app deploy flags. The config file is useful for reusable defaults and for monorepos where multiple app targets need roots, frameworks, entrypoints, and env inputs declared.

How does authentication work for non-interactive Prisma Compute deploys?

Set PRISMA_SERVICE_TOKEN for CI or agent deploys; a non-empty token takes precedence over stored OAuth workspaces. Locally, use auth login and auth workspace use <id> to select among multiple stored workspace sessions.

Does Prisma Compute run database migrations during deploy?

No, deploys never run migrations, seed data, or schema push. Create databases and set env vars explicitly with database create and project env commands, then run your own Prisma migration scripts separately.