prisma-compute

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

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

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 - CLI-Guided Deployment: Uses @prisma/cli app deploy, create-prisma, and generated compute:deploy scripts with JSON output for agent-friendly automation. - Typed Compute Config: Creates and validates prisma.compute.ts with defineComputeConfig for single apps, monorepos, and multi-app targets. - Framework Readiness: Covers deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, Elysia, and custom prebuilt artifacts, including 0.0.0.0 host binding and port rules. - Use Case: You have an existing Hono API and want it live on Prisma Compute. The Skill verifies auth workspace, checks the entrypoint and port, runs app deploy --json --no-interactive, and confirms the public URL responds. ## 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 TypeScript app to Prisma Compute?

Use `bunx @prisma/cli@latest app deploy` with flags like `--framework`, `--entry`, `--http-port`, and `--env`, or run the generated `compute:deploy` script if the project has one. Add `--json --no-interactive` for agent or CI workflows, then verify the public deployment URL.

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, monorepos, and multi-app targets using 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 and plain servers deploy through the bun key with an explicit entrypoint, while SvelteKit 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 the listening port. Also confirm the app listens on the deployed HTTP port, typically by reading process.env.PORT or passing a matching `--http-port`.

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

Set a non-empty PRISMA_SERVICE_TOKEN for CI, which takes precedence over stored OAuth sessions. Locally, use `auth login` and switch between multiple stored workspaces with `auth workspace list --json` and `auth workspace use <id>`; 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 --branch <name>`, manage env vars with `project env` commands, and run your project's own Prisma migration scripts separately.