prisma-database-setup
78为任意数据库提供商配置 Prisma
为新数据库设置 Prisma 时,需要处理因提供商而异的数据源配置、驱动适配器和连接字符串。此技能为 Claude 提供针对特定提供商的分步指南,使其能够一次性正确配置 PostgreSQL、MySQL、SQLite、MongoDB、SQL Server 或 CockroachDB。
配置 Prisma Postgres 数据库
创建数据库、配置凭据以及准备 Prisma 项目需要多个相互协调的步骤。此技能通过交互式选项和连接验证,引导用户完成 Prisma Postgres 的完整设置流程。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "prisma-postgres-setup" from https://skillstore.io/skills/prisma-prisma-postgres-setup.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-postgres-setup/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“prisma-postgres-setup”。 为我的任务应用程序设置 Prisma Postgres。
预期结果:
正在使用“prisma-postgres-setup”。 将我现有的 Node.js 项目连接到新的 Prisma 数据库。
预期结果:
Ten static findings are confirmed: eight executable command spans and two operations involving secret-bearing environment files. Most alerts are Markdown, official Prisma URLs, placeholders, or standard local configuration. Contextual review found unsafe token handling and permanent project deletion, but no prompt injection or unrelated exfiltration.
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/prisma-prisma-postgres-setup?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/prisma-prisma-postgres-setup?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-postgres-setup/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/prisma-prisma-postgres-setup.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>prisma. (2026). prisma-postgres-setup security audit report (audit version 10) [Author version 1.1.0]. Skillstore. https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10@techreport{prisma-prisma-prisma-postgres-setup-2026,
author = {prisma},
title = {prisma-postgres-setup security audit report (audit version 10)},
institution = {Skillstore},
year = {2026},
number = {10},
url = {https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10},
note = {Author version 1.1.0}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "prisma-postgres-setup security audit report (audit version 10)"
version: "1.1.0"
type: report
authors:
- name: "prisma"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/prisma-prisma-postgres-setup/audits/10"
identifiers:
- type: other
value: "skillstore:prisma-prisma-postgres-setup:audit:10"
description: "Skillstore immutable audit report identifier"
配置新的 Prisma Postgres 数据库,并连接新的 Node.js 应用程序。
向现有本地项目添加直接数据库连接和 Prisma 7 配置。
针对项目、区域、迁移和连接检查,遵循可重复执行的设置流程。
为我的本地项目设置一个新的 Prisma Postgres 数据库。让我选择区域,并解释每个步骤。
配置 Prisma Postgres,并为此 Node.js 项目配置 Prisma 7。保留我现有的环境设置。
创建 Prisma Postgres 项目,配置 prisma.config.ts,并准备迁移工作流。在应用更改之前显示计划中的更改。
为此项目配置 Prisma Postgres,确认 Git 已忽略 .env,并在我批准命令后运行连接验证。
作者
prisma许可证
MIT
作者版本
v1.1.0
Skillstore 修订
r2
仓库
https://github.com/prisma/skills/tree/1a9f427e9fe2137298abbcc1a6f372db92e8c40d/prisma-postgres-setup引用
ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006
维护新鲜度
2026/7/25
使用量
0 次下载 · 0 次浏览
文件结构
为任意数据库提供商配置 Prisma
为新数据库设置 Prisma 时,需要处理因提供商而异的数据源配置、驱动适配器和连接字符串。此技能为 Claude 提供针对特定提供商的分步指南,使其能够一次性正确配置 PostgreSQL、MySQL、SQLite、MongoDB、SQL Server 或 CockroachDB。
规划 Prisma MongoDB 升级
Prisma MongoDB 项目无法升级到 Prisma ORM v7,因为该版本不包含 MongoDB 连接器。此技能可帮助团队评估阻碍因素、安全地继续使用 v6,或规划分阶段的 Prisma Next 评估。
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.
Draft Prisma Next Feedback for the Right Channel
Prisma Next feedback can be difficult to classify and prepare for public submission. This skill routes feedback and drafts complete, redacted reports.
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.
Write Prisma Next Queries Across Database Targets
Prisma Next query APIs differ across Postgres, SQLite, and Mongo, which makes correct lane selection difficult. This skill provides target-specific patterns for typed reads, writes, relations, aggregates, pagination, and transactions.
实现结构化日志记录
由 Doyajin174
纯文本日志难以搜索和关联。此技能帮助实现 JSON 日志记录、请求上下文、脱敏以及可用于聚合的字段。
使用 Azure Monitor 为 Node.js 应用插桩
由 sickn33
团队需要在 Node.js 应用中获得可靠的遥测能力,而无需手工构建每个 OpenTelemetry 组件。此技能展示用于追踪、指标、日志、采样和关闭处理的 Azure Monitor 设置模式。
构建可靠的 BullMQ 队列
由 sickn33
团队可能会在卡住的任务、重试、调度以及基于 Redis 的 worker 行为上遇到困难。此技能帮助 Claude、Codex 和 Claude Code 设计和审查 BullMQ 队列系统。
在资深指导下构建全栈应用
由 alirezarezvani
全栈项目通常需要一致的设置、架构选择和质量检查。此技能为 React、Next.js、Node.js、GraphQL 和 PostgreSQL 工作提供脚本与参考资料。
构建 CloudBase Node 身份验证流程
由 tencentcloudbase
服务端 CloudBase 身份验证工作可能会涉及调用方身份、用户查找和自定义登录细节。此技能指导 Node.js agent 使用正确的 SDK 方法和安全的后端模式。
优化 PostgreSQL 性能
由 sickn33
缓慢的 PostgreSQL 系统在变更前需要结构化分析。此技能可指导查询调优、索引规划、配置审查、维护和监控。