Skills prisma-cli
๐Ÿ“ฆ

prisma-cli

v7.6.0 Content revision r2 Medium Risk ๐Ÿ”‘ Env variablesโš™๏ธ External commands๐Ÿ“ Filesystem access

Manage Prisma ORM Workflows

Prisma CLI workflows can be difficult to apply safely across development and production. This skill provides command guidance, options, examples, and environment-specific practices.

Supports: Claude Codex Code(CC)
๐Ÿ“Š 70 Adequate

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-cli" from https://skillstore.io/skills/prisma-prisma-cli.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-cli/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

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-cli". I added a required email field. How should I migrate safely?

Expected outcome:

  • Create the migration without applying it.
  • Review how existing rows receive a valid value.
  • Test the migration against staging data before deployment.

Using "prisma-cli". My development database has drifted from migration history.

Expected outcome:

The response identifies drift sources, recommends status and diff checks, and separates development reset options from production-safe recovery.

Security Audit

Medium Risk
v7 โ€ข 7/23/2026 Open versioned report

The static alerts are false positives caused by Markdown backticks, standard Prisma environment configuration, relative project paths, and schema examples. No prompt injection, credential exfiltration, or hidden executable payload was found. A medium operational risk remains because quick references include destructive database commands without mandatory confirmation or target checks.

19
Files scanned
2,214
Lines analyzed
0
Review items
0
False positives ignored

Confirmed security concerns (1)

Medium
Destructive Database Commands Lack Mandatory Safeguards
The quick reference presents raw SQL and database reset commands without requiring target verification, backup confirmation, or explicit user approval.
The cited examples directly execute TRUNCATE, data-loss acceptance, force reset, and migration reset operations. The quick reference does not require an approval gate.

Risk Factors

๐Ÿ”‘ Env variables (26)
โš™๏ธ External commands (49)
๐Ÿ“ Filesystem access (11)
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-cli/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

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

HTML badge

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

Embed card

<iframe src="https://skillstore.io/embed/skills/prisma-prisma-cli.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-cli security audit report (audit version 7) [Author version 7.6.0]. Skillstore. https://skillstore.io/skills/prisma-prisma-cli/audits/7

BibTeX citation

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

Skillstore Score

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

What You Can Build

Start a Prisma project

Developers can select a datasource, initialize project files, configure environment loading, and generate Prisma Client.

Prepare database changes

Database engineers can compare schemas, create migrations, inspect drift, and plan controlled deployment steps.

Automate delivery checks

Platform engineers can validate schemas, inspect migration status, and apply reviewed migrations in CI environments.

Try These Prompts

Initialize a project
Set up Prisma for [database] in [runtime]. Explain generated files, environment configuration, and the first client generation step.
Plan a schema change
Review this Prisma schema change: [change]. Propose a development migration workflow and identify possible data-loss risks before any command runs.
Diagnose migration drift
Analyze this migration status and error: [details]. Explain likely drift causes, non-destructive checks, and recovery options.
Design a production migration runbook
Create a production runbook for [deployment]. Include staging validation, backups, status checks, approval gates, deployment, rollback planning, and post-deployment verification.

Best Practices

  • Confirm the active datasource and environment before any command that changes data.
  • Review generated SQL and maintain a tested backup before production migrations.
  • Use migrations for shared environments and reserve direct schema pushes for controlled development workflows.

Avoid

  • Do not run reset, force-reset, or data-loss options against production databases.
  • Do not place database connection strings directly in commands, logs, prompts, or source control.
  • Do not mark failed migrations as resolved before reconciling the actual database state.

Frequently Asked Questions

Does this skill execute Prisma commands automatically?
It provides command guidance. Execution depends on the connected AI tool and should follow its approval controls.
Does it support Prisma Compute deployments?
No. Use the dedicated Prisma Compute skill for application deployment, logs, domains, and related workflows.
Can it help with production migrations?
Yes. It covers migration status, reviewed deployment, staging checks, backups, and recovery planning.
Can it manage MongoDB schemas?
Yes. It documents introspection and direct schema pushes because Prisma Migrate does not support MongoDB.
How should database credentials be provided?
Store connection strings in protected environment variables or secret stores. Do not place credentials in prompts, source control, or command history.
What requires extra caution?
Database resets, raw SQL, forced schema pushes, and data-loss options require target verification, backups, and explicit approval.

Developer Details

Author

prisma

License

MIT

Author version

v7.6.0

Skillstore revision

r2

Ref

ebdfe608f5de2b66ff37ab4af12af8ac4f5e8006

Maintenance freshness

7/25/2026

Usage

0 downloads ยท 0 views

File structure

๐Ÿ“ references/

๐Ÿ“„ db-execute.md

๐Ÿ“„ db-pull.md

๐Ÿ“„ db-push.md

๐Ÿ“„ db-seed.md

๐Ÿ“„ debug.md

๐Ÿ“„ dev.md

๐Ÿ“„ format.md

๐Ÿ“„ generate.md

๐Ÿ“„ init.md

๐Ÿ“„ mcp.md

๐Ÿ“„ migrate-deploy.md

๐Ÿ“„ migrate-dev.md

๐Ÿ“„ migrate-diff.md

๐Ÿ“„ migrate-reset.md

๐Ÿ“„ migrate-resolve.md

๐Ÿ“„ migrate-status.md

๐Ÿ“„ studio.md

๐Ÿ“„ validate.md

๐Ÿ“„ SKILL.md

More from prisma

View all
View all