Skills prisma-upgrade-v7
๐Ÿ“ฆ

prisma-upgrade-v7

v7.6.0 Content revision r1 High Risk ๐Ÿ“ Filesystem access๐Ÿ”‘ Env variablesโš™๏ธ External commands๐ŸŒ Network access

Upgrade Prisma ORM from v6 to v7

Prisma ORM 7 changes client generation, database connections, configuration, modules, and removed APIs. This skill provides an ordered migration guide with provider-specific examples and troubleshooting.

Supports: Claude Codex Code(CC)
โš ๏ธ 38 Poor

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "prisma-upgrade-v7" from https://skillstore.io/skills/prisma-prisma-upgrade-v7.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-upgrade-v7/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.

Your Agent should still show its plan and request any confirmation required by the security policy.

Agent-readable resources

Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.

Test it

Using "prisma-upgrade-v7". Why does my generated Prisma client import fail after upgrading?

Expected outcome:

The response checks the configured generator output, compares it with the application import path, verifies the module format, and recommends regenerating the client.

Using "prisma-upgrade-v7". What must change for a PostgreSQL service using Prisma 6?

Expected outcome:

The response outlines package updates, PostgreSQL adapter setup, secure connection configuration, the new config file, client construction, and focused migration tests.

Using "prisma-upgrade-v7". Can I apply this guide to MongoDB?

Expected outcome:

The response stops the standard migration path and explains that Prisma ORM 7 lacks a MongoDB connector. It recommends staying on version 6.

Security Audit

High Risk
v5 โ€ข 7/23/2026 Open versioned report

All 268 static findings are false positives caused by documentation examples, Markdown syntax, fixed paths, environment placeholders, and official links. Three semantic findings remain: disabled TLS verification, unredacted query-argument logging, and an unguarded forced database reset. The skill shows no prompt injection, credential exfiltration, or hidden executable payload.

8
Files scanned
1,571
Lines analyzed
0
Review items
0
False positives ignored

Confirmed security concerns (3)

High
Forced database reset lacks a safety warning
The workflow includes `prisma migrate reset --force` without an environment guard or data-loss warning. Running it against a valuable database can destroy data.
The destructive command and force flag are present, while the surrounding text provides no production safeguard.
Medium
Insecure TLS certificate verification guidance
Examples enable `trustServerCertificate: true` and `rejectUnauthorized: false`. These settings permit unverified database certificates and can expose credentials or data to interception.
The settings appear directly in the cited examples, and their effect on TLS verification is well established.
Medium
Unredacted database query argument logging
The logging extension serializes every query argument. Arguments can contain passwords, tokens, or personal data that should not enter application logs.
The example explicitly serializes all query arguments without filtering or redaction.

Risk Factors

๐Ÿ“ Filesystem access (36)
๐Ÿ”‘ Env variables (50)
references/accelerate-users.md:50 references/accelerate-users.md:61 references/accelerate-users.md:106 references/accelerate-users.md:120 references/accelerate-users.md:149 references/accelerate-users.md:50 references/accelerate-users.md:61 references/accelerate-users.md:106 references/accelerate-users.md:120 references/accelerate-users.md:149 references/accelerate-users.md:31 references/accelerate-users.md:17 references/accelerate-users.md:19 references/accelerate-users.md:37 references/accelerate-users.md:50 references/accelerate-users.md:61 references/accelerate-users.md:82 references/accelerate-users.md:83 references/accelerate-users.md:90 references/accelerate-users.md:106 references/accelerate-users.md:120 references/accelerate-users.md:149 references/accelerate-users.md:17 references/driver-adapters.md:71 references/driver-adapters.md:87 references/driver-adapters.md:88 references/driver-adapters.md:89 references/driver-adapters.md:102 references/driver-adapters.md:115 references/driver-adapters.md:128 references/driver-adapters.md:142 references/driver-adapters.md:157 references/driver-adapters.md:158 references/driver-adapters.md:178 references/driver-adapters.md:190 references/driver-adapters.md:201 references/driver-adapters.md:212 references/driver-adapters.md:229 references/driver-adapters.md:241 references/driver-adapters.md:259 references/driver-adapters.md:264 references/driver-adapters.md:71 references/driver-adapters.md:87 references/driver-adapters.md:88 references/driver-adapters.md:89 references/driver-adapters.md:102 references/driver-adapters.md:115 references/driver-adapters.md:128 references/driver-adapters.md:142 references/driver-adapters.md:157
โš™๏ธ External commands (50)
๐ŸŒ Network access (3)
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/prisma-prisma-upgrade-v7/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/prisma-prisma-upgrade-v7/security.svg)](https://skillstore.io/skills/prisma-prisma-upgrade-v7?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/prisma-prisma-upgrade-v7?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-upgrade-v7/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/prisma-prisma-upgrade-v7.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

prisma. (2026). prisma-upgrade-v7 security audit report (audit version 5) [Author version 7.6.0]. Skillstore. https://skillstore.io/skills/prisma-prisma-upgrade-v7/audits/5

BibTeX citation

@techreport{prisma-prisma-prisma-upgrade-v7-2026, author = {prisma}, title = {prisma-upgrade-v7 security audit report (audit version 5)}, institution = {Skillstore}, year = {2026}, number = {5}, url = {https://skillstore.io/skills/prisma-prisma-upgrade-v7/audits/5}, note = {Author version 7.6.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-upgrade-v7 security audit report (audit version 5)" version: "7.6.0" type: report authors: - name: "prisma" date-released: "2026-07-23" url: "https://skillstore.io/skills/prisma-prisma-upgrade-v7/audits/5" identifiers: - type: other value: "skillstore:prisma-prisma-upgrade-v7:audit:5" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: Medium
45
Architecture
100
Maintainability
87
Content
65
Community
100
Spec Compliance

What You Can Build

Upgrade a backend service

Follow an ordered checklist for generator, adapter, configuration, import, and client changes.

Standardize platform configuration

Compare adapter, environment, module, and deployment requirements across several services.

Plan migration work

Identify breaking changes, operational risks, and verification tasks before scheduling an upgrade.

Try These Prompts

Review my upgrade
Review my Prisma 6 project structure and list the required Prisma 7 changes in order. Explain each change before suggesting edits.
Update the generator
Help me replace prisma-client-js with prisma-client. Choose an output path that matches my project structure and update the related imports.
Configure my adapter
Migrate my database connection to the correct Prisma 7 driver adapter. Preserve secure TLS and pool settings for my deployment environment.
Audit the full migration
Audit this Prisma 7 migration for module compatibility, removed APIs, environment loading, generated entrypoints, connection security, and destructive commands. Propose focused tests.

Best Practices

  • Inspect the provider, runtime, module format, and project layout before changing files.
  • Use verified TLS certificates and keep credentials in managed environment variables.
  • Back up data and run generation, type checks, migrations, and application tests in a nonproduction environment.

Avoid

  • Do not apply the SQL adapter workflow to MongoDB projects.
  • Do not disable certificate verification to resolve production TLS errors.
  • Do not run forced reset or migration commands before confirming the target database and backup status.

Frequently Asked Questions

Which migration does this skill cover?
It covers Prisma ORM 6 to Prisma ORM 7, with examples aligned to version 7.6.0.
Does it support MongoDB projects?
No. Prisma ORM 7 lacks a MongoDB connector, so MongoDB projects need a separate decision and migration path.
Are driver adapters required?
Yes, supported SQL providers use driver adapters in the Prisma ORM 7 client path.
Can I keep CommonJS?
Yes. Configure the generated client for CommonJS and keep the application module settings consistent.
Does the skill edit my project automatically?
The skill provides instructions and examples. Actual edits and commands depend on the host agent, permissions, and user approval.
How should I verify the upgrade?
Regenerate the client, run type checks and tests, inspect migrations, and validate database connectivity in a nonproduction environment.

Developer Details

Author

prisma

License

MIT

Author version

v7.6.0

Skillstore revision

r1

Ref

ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006

Maintenance freshness

7/25/2026

Usage

0 downloads ยท 0 views

File structure

๐Ÿ“ references/

๐Ÿ“„ accelerate-users.md

๐Ÿ“„ driver-adapters.md

๐Ÿ“„ env-variables.md

๐Ÿ“„ esm-support.md

๐Ÿ“„ prisma-config.md

๐Ÿ“„ removed-features.md

๐Ÿ“„ schema-changes.md

๐Ÿ“„ SKILL.md

More from prisma

View all
View all