auth-security
Best practices for implementing JWT, API Keys, OAuth 2.1, and RBAC in a NitroStack application.
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`, `auth
$ npx -y skills add nitrocloudofficial/nitrostack --skill prisma-compute --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/prisma-computeContext preview
The summary Claude sees to decide when to auto-load this skill.
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`, `auth
name: prisma-compute description: 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`, `auth workspace`, Compute apps/deployments/build logs/domains, `@prisma/cli agent install`, `@prisma/cli feedback`, 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. license: MIT metadata: author: prisma version: "1.4.1"
Guide agents through Prisma Compute app creation, deployment, operations, and framework-specific deploy readiness.
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.
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 you@example.com
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.
Use evidence in this order when deciding what to edit or run:
1. The project's generated scripts and config, especially `prisma.compute.ts`, `compute:deploy`, framework config, and `package.json`. 2. CLI help output from `create-prisma` and `@prisma/cli`. 3. Local installed package code, generated artifacts, and type definitions. 4. Official docs.
Use this skill for:
1. Existing project deployment or redeploy: Read [`references/app-deploy-cli.md`](references/app-deploy-cli.md).
2. Typed Compute config, monorepos, deploy targets, app roots, or build/env defaults: Read [`references/compute-config.md`](references/compute-config.md).
3. Framework-specific build/runtime work: Read [`references/frameworks.md`](references/frameworks.md).
4. New project from a scaffold: Read [`references/create-prisma.md`](references/create-prisma.md).
5. Programmatic deployment, SDKs, APIs, or low-level App/Deployment concepts: Read [`references/sdk-api.md`](references/sdk-api.md).
6. Build, auth, env, deploy, or runtime failures: Read [`references/troubleshooting.md`](references/troubleshooting.md).
| 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-` |
The full-stack TypeScript framework to build, test, and deploy production-ready MCP servers and AI-native apps.
Repo: nitrocloudofficial/nitrostack
Best practices for implementing JWT, API Keys, OAuth 2.1, and RBAC in a NitroStack application.
Best practices and guidelines for bootstrapping, defining modules, using dependency injection, managing server lifecycles, and handling events in the…
Best practices for implementing and applying Guards, Interceptors, Middleware, Pipes, and Exception Filters in the NitroStack SDK.
Guidelines and patterns for defining Tools, Resources, and Prompts in a NitroStack application with schema validation via Zod, including caching,…
Best practices for linking tools to interactive frontend widgets using @Widget and @nitrostack/widgets SDK (including state sync, tool calling, display modes,…
Prisma ORM CLI commands reference covering init, generate, migrate, db, dev, studio, validate, format, debug, and mcp. Use for ORM/database CLI workflows, not…