prisma-compute

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

Updated Aug 21, 2026
One-click install
npx skills add https://github.com/Rithika135/watchtower-360 --skill prisma-compute-rithika135
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/Rithika135/watchtower-360/tree/main/watchtower360-backend/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/Rithika135/watchtower-360 --skill prisma-compute-rithika135

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 deployments actually become reachable. ## Core Features & Use Cases - CLI-Guided Deployment: Uses @prisma/cli app deploy, create-prisma, and generated compute:deploy scripts with verified help output and JSON/non-interactive modes. - Typed Compute Config: Creates and maintains prisma.compute.ts with defineComputeConfig for single apps, monorepos, multi-app targets, and custom build artifacts. - Framework Readiness: Covers deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun/Elysia, custom artifacts, and Turborepo, including 0.0.0.0 host binding and port alignment. - Use Case: A user asks to deploy an existing Hono API to Prisma Compute; the Skill verifies auth workspace, checks the entrypoint and port, runs app deploy --json --no-interactive, and validates 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, --entry, --http-port, and --env. Verify auth first with auth whoami, then confirm the public deployment URL after deploy.

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

prisma.compute.ts is the typed Compute config using defineComputeConfig from @prisma/compute-sdk/config. It is optional for simple single-app deploys but recommended for reusable defaults, monorepos, and multi-app targets defined under the apps key.

Which frameworks does Prisma Compute deploy support?

The deploy CLI supports nextjs, nuxt, astro, hono, nestjs, tanstack-start, custom, and bun framework keys. Elysia deploys through the bun key with an explicit entrypoint, while SvelteKit has no dedicated key and needs a Node adapter artifact via the custom framework.

Why is my deployed app unreachable even though the deploy succeeded?

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 verify the app listens on the deployed HTTP port, typically via process.env.PORT or a matching --http-port flag.

How do I authenticate @prisma/cli in CI or non-interactive environments?

Set the PRISMA_SERVICE_TOKEN environment variable with a workspace service token, which takes precedence over stored OAuth sessions. Locally, use auth login and auth workspace use <id> to select among multiple stored workspaces, and never print token values.

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