prisma-compute

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

Updated Jul 27, 2026
One-click install
npx skills add https://github.com/Soares-B/Livia-Lace --skill prisma-compute-soares-b
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-compute
Source: https://github.com/Soares-B/Livia-Lace/tree/main/livia-lace/.windsurf/skills/prisma-compute
Command: npx skills add https://github.com/Soares-B/Livia-Lace --skill prisma-compute-soares-b

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 moving parts: typed config files, framework-specific build outputs, workspace authentication, branch-scoped env vars, and host/port binding rules. This Skill guides agents through the entire Prisma Compute lifecycle so deployments succeed on the first attempt instead of failing on readiness, auth, or config errors. ## 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 and validate prisma.compute.ts with defineComputeConfig for single apps, monorepos, and multi-app targets. - Framework readiness checks: Verify deploy requirements for Next.js, Nuxt, Astro, Hono, NestJS, TanStack Start, Bun, and custom artifacts, including 0.0.0.0 binding and correct HTTP ports. - Use Case: A developer merges a Hono API into a monorepo and asks the agent to deploy a preview branch. The Skill selects the apps.api target, aligns --branch across deploy, database, and env commands, deploys with --json --no-interactive, and verifies the public URL. ## Quick Start Ask the agent to deploy your existing app to Prisma Compute, for example: deploy this Hono app to Prisma Compute on the current branch 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, --http-port, and --env. For agents and CI, add --json --no-interactive and verify the public deployment URL afterward.

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 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 readiness checks only watch the listening port. Also confirm the app listens on the deployed HTTP port, typically via process.env.PORT or a matching --http-port flag.

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, monorepos, and multi-app targets where you define app roots, frameworks, entrypoints, ports, and env inputs.

How do I authenticate Prisma Compute deploys in CI?

Set a non-empty PRISMA_SERVICE_TOKEN environment variable, which takes precedence over stored OAuth sessions. Never print the token, and note that workspace switching is unavailable while the service token is set.

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