Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

prisma-compute

БесплатноБез исполняемых скриптовНе проверен

Deploy and operate apps on Prisma Compute with the Prisma 8 CLI. Use whenever the user mentions Prisma Compute, deploying or hosting a Prisma app, `prisma…

prismaот prisma★ 80 звёзд на GitHub

Об этом скилле

Prisma Compute

Deploy TypeScript apps to Prisma Compute and operate them afterwards. Every deploy goes through a Prisma Composer app (a module.ts root module) and the Prisma 8 CLI, prisma.

Verified against prisma 8.0.0-rc.21 (published identically as @prisma/cli), @prisma/composer and @prisma/composer-prisma-cloud 0.28.0, @prisma/compute 0.1.0-beta.0, and create-prisma 0.14.1. Re-checked against prisma 8.0.0-rc.23, whose command surface matches rc.21, and Composer 0.30.0, which adds node()'s dependencies option (0.29.0) and narrows the supported Node.js versions. The CLI moves fast: run npx prisma <group> --help before using a flag this skill does not show.

Version-Matched Skills

The installed packages ship their own agent skills, matched to the installed version:

  • prisma-platform-core-concepts, inside prisma: projects, branches, services, versions, env vars, deploy on push.
  • prisma-composer-core-concepts, inside @prisma/composer: declaring services, modules, databases, and builds; dev, deploy, and teardown.

npx prisma skills sync copies them into the agent skill directories (.claude/skills, .cursor/skills, .agents/skills, .devin/skills), and npx prisma skills list shows what is installed. npx prisma init does the same and adds a postinstall hook that keeps them current. When those skills are installed, use them for API details. This skill covers the deploy and operations workflow and its pitfalls.

Removed Surface

The Compute CLI from before Composer is gone. Its commands fail with CLI.UNKNOWN_COMMAND (removed flags with CLI.INVALID_ARGUMENTS), its config files are not read, and its environment variables are ignored:

Removed Use instead
@prisma/cli app deploy, app build, app run Your own build script, then npx prisma deploy module.ts; npx prisma dev module.ts to run locally
prisma.compute.ts, prisma.compute.json, defineComputeConfig module.ts, a service.ts per server declared with compute(), and the composer section of prisma.config.ts
init writing a compute config npx prisma init now writes a prisma.config.ts with only a skills section, adds prisma as a dev dependency, and syncs skills. Add the composer section yourself
compute:deploy script npx prisma deploy module.ts, or the deploy script current create-prisma generates
app deploy --branch <name> npx prisma deploy module.ts --stage <name>
app deploy --prod, --no-promote, app promote No --stage deploys production; service version promote <version-id>
app show, app open, app list-deploys, app show-deploy service show <service>, service open <service>, service version list <service>, service version show <version-id>
app logs service logs <service>
app rollback --to <id> --yes service version rollback <service> --to <id> --confirm <id>
app domain ... service domain ... --service <service>
app remove Remove the provision() from module.ts and deploy, or service delete <service> --confirm <service>
build logs <build-id> The GitHub Actions run log or the Console; GET /v1/builds/{buildId} for state and failing step
database ... postgres ...
project env remove project env delete
auth logout --workspace <id> auth workspace logout <id>
agent install, agent update, agent status npx skills add prisma/skills --skill prisma-compute; npx prisma skills sync for package skills
PRISMA_PROJECT_ID, PRISMA_APP_ID, PRISMA_SERVICE_ID --project <id-or-name>, the service as a positional argument, and .prisma/local.json from project link
/v1/apps REST endpoints /v1/services (the /v1/apps paths are deprecated)

A repository with prisma.compute.ts or a compute:deploy script was set up for the removed flow. Port it to Composer (app-composer-setup.md) instead of running the old commands.

When to Apply

  • Deploying a new or existing app to Prisma Compute
  • Finishing the Console's Set up Prisma Cloud deploys pull request (prisma-cloud/setup)
  • Porting a project that uses prisma.compute.ts, compute:deploy, or @prisma/cli app deploy
  • Setting up preview stages, deploy on push, or CI deploys
  • Reading service logs, listing versions, promoting, or rolling back
  • Managing env vars, custom domains, Prisma Postgres databases, or buckets in a Compute project
  • Debugging a failed deploy, an unreachable service, a 504, or work that stops when an instance sleeps

Rule Categories by Priority

Priority Category Impact Prefix
1 CLI surface CRITICAL cli-
2 App declaration CRITICAL app-
3 Runtime CRITICAL runtime-
4 Deploy HIGH deploy-
5 Operations HIGH ops-
6 Debugging HIGH
Полный SKILL.md на GitHub

Установить prisma-compute в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/app-composer-setup.mdreferences/app-framework-builds.mdreferences/automation-create-prisma.mdreferences/automation-rest-api.mdreferences/cli-command-map.mdreferences/debug-deploy-failures.mdreferences/deploy-cli-and-ci.mdreferences/deploy-existing-app.mdreferences/deploy-on-push.mdreferences/ops-services-and-config.mdreferences/runtime-requirements.md

FAQ

Что делает скилл prisma-compute?

Deploy and operate apps on Prisma Compute with the Prisma 8 CLI. Use whenever the user mentions Prisma Compute, deploying or hosting a Prisma app, `prisma deploy`, `prisma dev module.ts`, Prisma Composer apps (`module.ts`, `compute()`, the `composer` section of `prisma.config.ts`), preview stages, deploy on push (`prisma git connect`, `prisma/cloud-deploy-action`), `prisma service` logs, versions, rollback, or custom domains, `project env`, `PRISMA_SERVICE_TOKEN`, regions, 504s, sleeping instances, or `waitUntil`; also when a project still uses the removed `@prisma/cli app deploy`, `prisma.compute.ts`, `defineComputeConfig`, `compute:deploy`, or `build logs` surface.

Как установить скилл prisma-compute?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл prisma-compute запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить prisma-compute с