prisma-orm-setup
Configure Prisma ORM and Database Connections
Prisma setup varies across ORM versions, database providers, and application runtimes. This skill guides compatible configuration and connection troubleshooting while preserving existing versions and database choices.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "prisma-orm-setup" from https://skillstore.io/skills/prisma-prisma-orm-setup.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-orm-setup/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“prisma-orm-setup”。 Plan a new Prisma setup using an existing PostgreSQL database.
预期结果:
- Proposed path: verify Prisma 8 provider and runtime compatibility, then pin a published CLI release.
- Keep the selected database and load the installed package guidance before applying detailed configuration.
- Completion requires a successful read-only application query; installation alone does not establish connectivity.
正在使用“prisma-orm-setup”。 My Prisma 7 MySQL CLI connects, but the application does not.
预期结果:
- Compare the CLI connection URL with the runtime adapter host, port, username, password, and database settings without displaying secrets.
- Check application environment loading and confirm compatible client and adapter versions.
- Preserve the existing schema and migrations, then repeat a read-only query through the application client.
正在使用“prisma-orm-setup”。 Review the connection setup for an existing Prisma 6 MongoDB application.
预期结果:
- Keep Prisma 6 and its MongoDB client initialization; do not introduce SQL driver adapters.
- Check replica-set availability, ObjectId mappings, and the intended connection environment.
- Review index changes before schema synchronization and verify connectivity with a read-only model query.
安全审计
安全All 119 static findings are false positives involving documented configuration, relative references, Markdown formatting, or intended database authentication. No evidence found of prompt injection, credential exfiltration, or unauthorized destructive actions in the nine supplied files. External packages and synchronized Prisma 8 guidance are outside this review; setup instructions explicitly protect secrets and require read-only connection verification.
风险因素
🔑 环境变量 (50)
📁 文件系统访问 (17)
⚙️ 外部命令 (9)
🌐 网络访问 (5)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/prisma-prisma-orm-setup/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/prisma-prisma-orm-setup?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/prisma-prisma-orm-setup?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-orm-setup/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/prisma-prisma-orm-setup.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-orm-setup security audit report (audit version 1) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/prisma-prisma-orm-setup/audits/1BibTeX 引用
@techreport{prisma-prisma-prisma-orm-setup-2026,
author = {prisma},
title = {prisma-orm-setup security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/prisma-prisma-orm-setup/audits/1},
note = {Author version 1.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "prisma-orm-setup security audit report (audit version 1)"
version: "1.0.0"
type: report
authors:
- name: "prisma"
date-released: "2026-09-29"
url: "https://skillstore.io/skills/prisma-prisma-orm-setup/audits/1"
identifiers:
- type: other
value: "skillstore:prisma-prisma-orm-setup:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Initialize a New Application
Select a compatible Prisma release, initialize ORM configuration, and verify connectivity to an existing database.
Repair a Legacy Connection
Diagnose configuration or authentication failures in Prisma 6 or 7 applications without replacing their database or upgrading the major version.
Align Runtime Connections
Check adapter selection, environment loading, pooling, and deployment-specific connection options for Prisma Postgres or other supported providers.
试试这些提示
Set up Prisma ORM for this new TypeScript application using my existing PostgreSQL database. Check release compatibility, protect credentials, and verify a read-only connection.
Inspect this Prisma application and diagnose its connection error: [error message]. Preserve its ORM major version, database, schema, and migrations. Do not print secrets.
Review my Prisma 7 setup for [database provider] on [runtime]. Align CLI configuration, environment loading, generated client imports, and adapter options. Verify with a read-only query.
Assess an upgrade from Prisma [source version] to [target version] for [provider] on [runtime]. Identify supported migration guidance and blockers before changing files or data.
最佳实践
- Confirm the application version from manifests, lockfiles, schemas, and imports before choosing provider guidance.
- Keep credentials in ignored environment files or host secret configuration, and verify certificates for hosted databases.
- Preserve existing schema and migrations, align CLI and runtime connections, and verify with a read-only application query.
避免
- Upgrading the ORM major version or switching databases merely to repair a connection.
- Mixing Prisma 7 SQL adapter examples with Prisma 6 MongoDB or Prisma 8 configuration.
- Printing credentials or treating package installation and skill synchronization as proof of a working database connection.
常见问题
Which Prisma versions does this skill cover?
Which databases have included references?
Does it include all Prisma 8 implementation guidance?
Will it upgrade an existing application automatically?
How should database credentials be provided?
How does it verify that setup is complete?
开发者详情
作者
prisma许可证
MIT
作者版本
v1.0.0
Skillstore 修订
r1
引用
bad9dafc37d1638cd29cb9bab06d5f8dbcd0f6c2
维护新鲜度
2026/9/30
使用量
0 次下载 · 0 次浏览