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.Ваш Агент по-прежнему должен показать план и запросить все подтверждения, требуемые политикой безопасности.
Ресурсы для AI-агентов
Используйте эти ссылки, когда AI-агенту, crawler или script нужен чистый контекст вместо полной страницы.
Протестировать
Использование «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_reportЗначок Markdown
[](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/1Цитата BibTeX
@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.