prisma-compute

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

Updated Aug 9, 2026
One-click install
npx skills add https://github.com/mousetailor/doker_and_cd_pipeline --skill prisma-compute-mousetailor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/mousetailor/doker_and_cd_pipeline/tree/main/packages/db/.agents/skills/prisma-compute
Command: npx skills add https://github.com/mousetailor/doker_and_cd_pipeline --skill prisma-compute-mousetailor

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 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, manage deployments, logs, domains, and promotions. - Framework readiness: Validate deploy readiness for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun/Elysia, custom artifacts, and Turborepo monorepos. - Auth and environments: Handle PRISMA_SERVICE_TOKEN, multi-workspace OAuth switching, branch-scoped env vars, and Prisma Postgres wiring. - Use Case: A user asks to deploy a Hono API in a Turborepo to Prisma Compute; the Skill inspects the repo, writes a multi-app prisma.compute.ts, verifies auth, deploys with JSON output, and curls the public URL. ## Quick Start Ask the agent to deploy your existing TypeScript 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, --entry, --http-port, and --env. Verify auth first with auth whoami, then request the public deployment URL after the deploy succeeds.

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

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

No, a simple single app can deploy with explicit app deploy flags alone. The config file is useful for reusable defaults and for monorepos, where an apps map declares each target's root, framework, entrypoint, port, and env inputs.

How do I authenticate Prisma Compute deploys in CI?

Set the PRISMA_SERVICE_TOKEN environment variable with a workspace service token and run deploys with --json --no-interactive. A non-empty token takes precedence over local OAuth sessions, and an empty variable causes the CLI to fail rather than fall back.

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