prisma-next-migration-review
Review Prisma Next Migrations Before Deployment
Deployment teams can misread migration state, refs, and divergent graph paths. This skill reviews the live origin, target destination, diagnostics, and pending operations.
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "prisma-next-migration-review" from https://skillstore.io/skills/prisma-prisma-next-migration-review.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-next-migration-review/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“prisma-next-migration-review”。 What will run when this branch deploys to staging?
预期结果:
- Origin: the live staging database marker.
- Destination: the staging ref.
- Result: two pending migrations and no unreachable edges.
- Review required: one destructive operation must be approved before apply.
正在使用“prisma-next-migration-review”。 Production ref and database marker do not match.
预期结果:
The mismatch can indicate an out-of-band apply, a restored database, or divergent schema changes. Verify the live database before moving the ref.
正在使用“prisma-next-migration-review”。 How should CI decide whether staging is deployable?
预期结果:
Run migration status with the staging ref and database, inspect structured diagnostics, block warning severities, and preview operations before an approved apply.
安全审计
高风险Static findings are false positives caused by Markdown formatting, local examples, quoted database variables, and documentation links. One high-risk semantic issue remains: live migrations can execute without an explicit user confirmation requirement.
已确认安全问题 (1)
风险因素
⚙️ 外部命令 (50)
📁 文件系统访问 (2)
🔑 环境变量 (5)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/prisma-prisma-next-migration-review/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/prisma-prisma-next-migration-review?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/prisma-prisma-next-migration-review?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-next-migration-review/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/prisma-prisma-next-migration-review.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-migration-review security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/prisma-prisma-next-migration-review/audits/1BibTeX 引用
@techreport{prisma-prisma-prisma-next-migration-review-2026,
author = {prisma},
title = {prisma-next-migration-review security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/prisma-prisma-next-migration-review/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-migration-review 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-migration-review/audits/1"
identifiers:
- type: other
value: "skillstore:prisma-prisma-next-migration-review:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Review a staging deployment
Identify the live staging marker, target ref, pending path, diagnostics, and destructive operations before deployment.
Resolve concurrent migration changes
Reassess a stale migration plan after another branch advances the shared graph head.
Create a migration CI gate
Check structured migration diagnostics and block deployment when warning conditions appear.
试试这些提示
Explain the Prisma Next origin, destination, marker, and ref for my migration question. Identify what information is still missing.
Review what will run on staging. Use the staging database and staging ref, then summarize pending migrations, diagnostics, and destructive operations.
Investigate why the production ref and live database marker differ. Compare likely causes and recommend verification steps before changing either state.
Design a CI migration gate for staging. Parse structured diagnostics, fail on warnings, preview pending operations, and require approval before applying changes.
最佳实践
- Name the live database origin and intended destination ref before reviewing a deployment.
- Use structured diagnostics in CI instead of parsing human-readable summaries.
- Preview and summarize destructive operations, then obtain approval before applying live migrations.
避免
- Do not treat a destination ref as a database connection selector.
- Do not move a ref only to silence a mismatch before investigating the cause.
- Do not rely on process exit status alone because warning diagnostics can exit successfully.