prisma-composer
Installation
SKILL.md
Writing apps with Prisma Composer
A Prisma App is a tree of Modules composed in TypeScript. The leaves
are services (compute()) and resources (postgres()); the root
module wires them together by their typed ports. Your code receives everything
from exactly one place — the service node:
service.load()— dependencies (typed RPC clients, database bindings)service.input()— the service's whole input, one schema-validated typed object; credentials in it are redactingSecretStringboxesservice.port()— the reserved port to bind (default 3000), typed; neverprocess.env
The framework never bundles or transforms your code. You build your app with
whatever bundler you like (bun build, next build); prisma-composer deploy
assembles the built output and provisions it on Prisma Cloud (Compute + Prisma
Postgres).
Two things make building here fast and hard to get wrong — lean on both: