schema-alignment
在發布前偵測結構描述漂移
資料庫漂移會造成執行階段錯誤、遷移中斷,以及隱藏的資料風險。此技能會比較結構描述、ORM 模型和遷移,以產生聚焦的對齊報告。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "schema-alignment" from https://skillstore.io/skills/consiliency-schema-alignment.md and its manifest at https://skillstore.io/api/skills/consiliency-schema-alignment/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「schema-alignment」。 發布前審查 SQLAlchemy 專案。
預期結果:
報告列出缺少的欄位、型別不相符、可為 null 差異,以及遷移缺口,並附上嚴重性和檔案證據。
正在使用「schema-alignment」。 模型變更後檢查 Prisma 結構描述。
預期結果:
摘要指出未相符的欄位、列舉差異、關聯問題,以及建議的遷移步驟。
正在使用「schema-alignment」。 規劃 CI 結構描述漂移檢查。
預期結果:
檢查清單定義管線所需的資料來源、嚴重性門檻、必要核准和報告成品。
安全審計
安全All 50 static findings are false positives caused by Markdown fences, inline code, schema examples, and ordinary ORM identifiers. No prompt injection, credential exfiltration, network request, or executable implementation was found in the documentation-only skill.
風險因素
🔑 環境變數 (1)
⚙️ 外部命令 (35)
🌐 網路存取 (1)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/consiliency-schema-alignment/audits/10?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/consiliency-schema-alignment?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/consiliency-schema-alignment?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/consiliency-schema-alignment/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/consiliency-schema-alignment.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 引用
Consiliency. (2026). schema-alignment security audit report (audit version 10) [Author version unspecified]. Skillstore. https://skillstore.io/skills/consiliency-schema-alignment/audits/10BibTeX 引用
@techreport{consiliency-consiliency-schema-alignment-2026,
author = {Consiliency},
title = {schema-alignment security audit report (audit version 10)},
institution = {Skillstore},
year = {2026},
number = {10},
url = {https://skillstore.io/skills/consiliency-schema-alignment/audits/10},
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: "schema-alignment security audit report (audit version 10)"
version: "unspecified"
type: report
authors:
- name: "Consiliency"
date-released: "2026-07-13"
url: "https://skillstore.io/skills/consiliency-schema-alignment/audits/10"
identifiers:
- type: other
value: "skillstore:consiliency-schema-alignment:audit:10"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
審查 Pull Requests
檢查模型變更是否包含相符的遷移和資料庫約束。
準備發布檢查
在部署依賴資料庫結構的變更前,找出結構描述漂移。
稽核舊有專案
比較較舊的 ORM 模型與遷移,以找出未記錄的漂移。
試試這些提示
Use schema-alignment to inspect this repository and report schema drift with severity, evidence, and suggested fixes.
Use schema-alignment to compare the current changes against migrations and models. Focus on missing migrations and type mismatches.
Use schema-alignment on the user and order tables. Include nullability, defaults, foreign keys, and naming differences.
Use schema-alignment to define a CI check for schema drift. Include failure thresholds, report format, and manual review points.
最佳實務
- 在合併會修改模型或遷移的變更前執行此技能。
- 無法存取即時資料庫時,優先使用遷移檔案作為主要來源。
- 將遷移套用至共享環境前,先審查產生的修正。
避免
- 將 ORM 模型視為唯一真相來源,而不檢查遷移。
- 未先審查產生的操作就執行遷移指令。
- 因為測試通過,就忽略可為 null、預設值和外鍵差異。
常見問題
此技能支援哪些技術堆疊?
它會修改我的資料庫嗎?
它可以使用即時資料庫嗎?
它會產生遷移修正嗎?
它能與自訂 ORM 搭配使用嗎?
團隊應如何在 CI 中使用它?
開發者詳細資訊
作者
Consiliency授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
635f69fb8d2f4e6330ba47a4e5a0fb239c04d110
維護新鮮度
2026/7/18
使用量
6 次下載 · 226 次瀏覽