prisma-compute
Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a…
от CognitionAI★ 42 звезды на GitHub
Установить prisma-compute в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Prisma Compute
Guide agents through Prisma Compute app creation, deployment, operations, and framework-specific deploy readiness.
Prisma Compute CLI Surface
Use the Prisma Platform CLI for Compute app workflows:
bunx @prisma/cli@latest app deploy --help
bunx @prisma/cli@latest app --help
bunx @prisma/cli@latest build logs --help
bunx create-prisma@latest --help
Use @prisma/cli@latest for Compute app deployment. Use create-prisma@latest for new-project scaffolding.
Send Feedback and Report CLI Issues
The CLI has a built-in feedback channel. Use it whenever a command crashes (UNEXPECTED_ERROR), a failure survives troubleshooting, or the user asks to send feedback to the Prisma team:
bunx @prisma/cli@latest feedback "app deploy crashed: <first error line>"
bunx @prisma/cli@latest feedback "love the deploy flow" --email [email protected]
Crash output points here on its own: --json crash envelopes carry the exact pre-filled command as a recover entry in nextActions (run it verbatim), and human crash output ends with a Tell us what happened: hint. Feedback is anonymous unless --email is passed and attaches only the CLI version, node version, and OS platform/arch. Never include secrets, connection URLs, or user data in the message.
Source-of-Truth Order
Use evidence in this order when deciding what to edit or run:
- The project's generated scripts and config, especially
prisma.compute.ts,compute:deploy, framework config, andpackage.json. - CLI help output from
create-prismaand@prisma/cli. - Local installed package code, generated artifacts, and type definitions.
- Official docs.
When to Apply
Use this skill for:
- Creating a new app that can deploy to Prisma Compute
- Deploying an existing TypeScript app to Prisma Compute
- Creating or updating a typed
prisma.compute.tsdeploy config - Deciding whether a framework is Compute-ready
- Debugging
create-prisma --deploy,compute:deploy, orapp deploy - Managing Compute app logs, deployments, environment variables, and domains, and listing platform branches (
branch list; there are no branch create/remove commands) - Inspecting GitHub/Console build logs and GitHub push-to-deploy status
- Running non-interactive deploys with browser auth, multiple stored workspaces, or Prisma service tokens
- Switching, selecting, listing, or logging out local Prisma Platform workspaces for
@prisma/cli - Sending feedback about an unresolvable Compute CLI failure with
@prisma/cli feedback - Programmatic deployments with
@prisma/compute-sdkor Management API integrations
Decision Tree
Existing project deployment or redeploy: Read
references/app-deploy-cli.md.Typed Compute config, monorepos, deploy targets, app roots, or build/env defaults: Read
references/compute-config.md.Framework-specific build/runtime work: Read
references/frameworks.md.New project from a scaffold: Read
references/create-prisma.md.Programmatic deployment, SDKs, APIs, or low-level App/Deployment concepts: Read
references/sdk-api.md.Build, auth, env, deploy, or runtime failures: Read
references/troubleshooting.md.
Rules by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Command verification | CRITICAL | verify- |
| 2 | Auth and workspace selection | CRITICAL | auth- |
| 3 | Framework readiness | CRITICAL | framework- |
| 4 | Runtime host and port binding | CRITICAL | runtime- |
| 5 | Typed Compute config | HIGH | config- |
| 6 | Branch, environment, and database wiring | HIGH | env- |
| 7 | Deploy operations | HIGH | deploy- |
| 8 | SDK and API automation | MEDIUM | sdk- |
Quick Rules
1. Command Verification
verify-help-first- Use CLI help output to confirm command syntax while working.verify-prisma-vs-platform-cli- Do not assumeprisma app deployexists in the ORM CLI; check whether the task should use@prisma/cli.verify-generated-scripts- Prefer the generatedcompute:deployscript when a project already has one.verify-public-url- After a real deploy, request the public deployment URL instead of trusting local or readiness-only checks.verify-config-support- Treatprisma.compute.tsas the typed Compute config; inspect the project's config and generated scripts before editing or deploying.verify-auth-workspace-support- Use@prisma/cli auth workspacecommands for local workspace list/use/logout flows.
2. Auth and Workspace Selection
auth-source-precedence- A non-emptyPRISMA_SERVICE_TOKENis the active auth source for commands and local OAuth workspaces are ignored for execution. If it is set but empty, the CLI should fail instead of falling back t
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/app-deploy-cli.md
- references/compute-config.md
- references/create-prisma.md
- references/frameworks.md
- references/sdk-api.md
- references/troubleshooting.md
FAQ
Что делает скилл prisma-compute?
Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, Compute auth/workspaces, apps/deployments/build logs/domains, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts.
Как установить скилл prisma-compute?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prisma-compute запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…