prisma-compute

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

Updated Aug 17, 2026
One-click install
npx skills add https://github.com/Sahil-Showket/ShopSphere --skill prisma-compute-sahil-showket
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/Sahil-Showket/ShopSphere/tree/main/services/product-service/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/Sahil-Showket/ShopSphere --skill prisma-compute-sahil-showket

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 typed config, localhost-only host binding, port mismatches, ambiguous workspace auth, and framework-specific build requirements. This Skill guides agents through the correct commands, config shapes, and troubleshooting steps so deployments succeed and stay debuggable. ## Core Features & Use Cases - Deployment 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 clear flag-over-config precedence rules. - Framework readiness checks: Verify deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, and custom prebuilt artifacts, 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 directs the agent to verify CLI help, check auth workspace, confirm the entrypoint binds all interfaces on port 8080, run app deploy --json --no-interactive, and then curl the public deployment 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?▼

Deploy an existing app with `bunx @prisma/cli@latest app deploy`, using 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.

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

prisma.compute.ts is the typed Compute config created with `defineComputeConfig` from `@prisma/compute-sdk/config`. It is optional for simple single-app deploys but recommended for reusable defaults and required in practice for monorepos with multiple app targets.

Which frameworks can deploy to Prisma Compute?▼

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 prebuilt artifact or a Bun server entrypoint.

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 the listening port. 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 Compute deploys in CI?▼

Set the PRISMA_SERVICE_TOKEN environment variable with a workspace service token, which takes precedence over stored browser-login sessions. Never print the token, and combine it with `--json --no-interactive` flags for non-interactive deploys.

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.