prisma-next-runtime
Configure Prisma Next Runtime Clients
Prisma Next runtime setup can fail through incorrect imports, middleware order, or connection lifecycle choices. This skill provides target-specific, typed configuration guidance.
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "prisma-next-runtime" from https://skillstore.io/skills/prisma-prisma-next-runtime.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-next-runtime/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「prisma-next-runtime」。 Set up Prisma Next with PostgreSQL and telemetry.
預期結果:
A typed runtime plan with the PostgreSQL facade, contract artifacts, DATABASE_URL, telemetry first, and a process-level singleton.
正在使用「prisma-next-runtime」。 My one-off PostgreSQL script finishes queries but never exits.
預期結果:
A teardown recommendation using db.close after pending work, with await using reserved for the top level of short-lived scripts.
正在使用「prisma-next-runtime」。 Switch my runtime from PostgreSQL to MongoDB.
預期結果:
A migration checklist covering the Mongo facade, re-emitted artifacts, collection addressing, and unavailable SQL and transaction surfaces.
安全審計
安全All 176 static findings are false positives caused by Markdown formatting, safe configuration examples, relative imports, and negative checklist wording. No executable payload, exposed credential, data exfiltration, prompt injection, or unsafe filesystem behavior was found.
風險因素
⚙️ 外部命令 (50)
📁 檔案系統存取 (6)
🔑 環境變數 (44)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/prisma-prisma-next-runtime/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/prisma-prisma-next-runtime?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/prisma-prisma-next-runtime?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-next-runtime/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/prisma-prisma-next-runtime.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
prisma. (2026). prisma-next-runtime security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/prisma-prisma-next-runtime/audits/1BibTeX 引用
@techreport{prisma-prisma-prisma-next-runtime-2026,
author = {prisma},
title = {prisma-next-runtime security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/prisma-prisma-next-runtime/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "prisma-next-runtime security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "prisma"
date-released: "2026-08-17"
url: "https://skillstore.io/skills/prisma-prisma-next-runtime/audits/1"
identifiers:
- type: other
value: "skillstore:prisma-prisma-next-runtime:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
Create a runtime entry point
Generate a typed db.ts for a selected database target with correct contract imports and environment configuration.
Add runtime safeguards
Compose telemetry, lint, and budget middleware in an intentional order with verified option names.
Fix connection lifecycle issues
Choose correct client ownership and teardown patterns for servers, scripts, workers, and continuous integration tasks.
試試這些提示
Create a typed Prisma Next db.ts for {target} using my emitted contract and DATABASE_URL.Add telemetry, lints, and budgets to my Prisma Next runtime with safe defaults and explain the middleware order.
Adapt my db.ts for development and production, keeping secrets external and changing middleware through NODE_ENV.
Review this server and script database setup for pool ownership, transaction support, teardown behavior, and target-specific limitations.
最佳實務
- Keep DATABASE_URL in environment configuration and never commit credentials.
- Place telemetry outermost when it must observe lint and budget failures.
- Use one module-level client for servers and close clients only in short-lived scripts.
避免
- Do not construct and dispose a database client inside every request handler.
- Do not invent middleware package paths or unsupported option names.
- Do not assume Postgres, SQLite, and Mongo expose identical query and transaction surfaces.