prisma-compute

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

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

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 commands, missing auth workspaces, loopback-only host binding, port mismatches, and framework-specific build requirements. This Skill guides agents through the correct Prisma Compute deployment workflow so apps actually become reachable in production. ## Core Features & Use Cases - CLI-Guided Deployment: Uses @prisma/cli app deploy, create-prisma, and generated compute:deploy scripts with verified command syntax and JSON output for automation. - Typed Compute Config: Creates and maintains prisma.compute.ts with defineComputeConfig for single apps, monorepos, and multi-app targets with per-app roots, entrypoints, ports, and env files. - Framework Readiness Checks: Validates deploy readiness for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, Elysia, and custom prebuilt artifacts, including host/port binding rules. - Use Case: You have a Turborepo with a Hono API and a Next.js web app. The Skill writes a root prisma.compute.ts with two apps targets, verifies auth workspace selection, deploys the API on a preview branch, and confirms the public URL responds. ## Quick Start Ask the agent to deploy your existing app to Prisma Compute, for example: deploy this Hono app to Prisma Compute on port 8080 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.

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

prisma.compute.ts is a typed config file using defineComputeConfig that stores reusable deploy defaults like framework, entrypoint, httpPort, root, and env files. It is optional for simple single apps but recommended for monorepos and multi-app repositories 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. SvelteKit has no dedicated key and must deploy through a custom prebuilt artifact or a Bun server entrypoint.

Why is my deployed Prisma Compute app unreachable?▼

The most common cause is binding the server to localhost or 127.0.0.1 instead of 0.0.0.0, or listening on a port that does not match the deployed HTTP port. Compute readiness only checks the port, so a loopback listener can appear ready while public ingress fails.

How do I authenticate Prisma CLI deploys in CI?▼

Set the PRISMA_SERVICE_TOKEN environment variable with a workspace service token; a non-empty token takes precedence over stored OAuth sessions. Never print the token, and use --json --no-interactive flags for non-interactive deploys.

Does Prisma Compute deploy 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 own Prisma migration scripts separately after setup.