prompt-engineering-patterns
86优化生产环境 LLM 提示词
LLM 提示词经常失败,是因为指令、示例和评估标准不清晰。此技能提供模板和工作流,用于改进 Claude、Codex、Claude Code 以及类似工具中的提示词。
规划更安全的数据库迁移
如果仓促进行,数据库变更可能会破坏应用程序或毁坏数据。此技能可帮助规划 ORM 迁移、回滚、数据转换和零停机发布步骤。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "database-migration" from https://skillstore.io/skills/wshobson-database-migration.md and its manifest at https://skillstore.io/api/skills/wshobson-database-migration/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“database-migration”。 规划 users.name 到 users.full_name 的零停机重命名。
预期结果:
正在使用“database-migration”。 审查一次迁移:将 users.address_string 拆分为多个独立字段后删除它。
预期结果:
正在使用“database-migration”。 为高风险 schema 变更创建回滚策略。
预期结果:
响应将定义事务或检查点计划、验证检查、恢复步骤,以及停止发布的条件。
All static detections are false positives caused by Markdown code fences or JavaScript SQL template literals in migration examples. I found no prompt injection, credential access, hidden execution, network calls, or malicious intent in SKILL.md. The skill is documentation content and should be used with normal operational caution for database changes.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/wshobson-database-migration/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/wshobson-database-migration?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/wshobson-database-migration?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/wshobson-database-migration/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/wshobson-database-migration.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>wshobson. (2026). database-migration security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/wshobson-database-migration/audits/7@techreport{wshobson-wshobson-database-migration-2026,
author = {wshobson},
title = {database-migration security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/wshobson-database-migration/audits/7},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "database-migration security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "wshobson"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/wshobson-database-migration/audits/7"
identifiers:
- type: other
value: "skillstore:wshobson-database-migration:audit:7"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
wshobson-database-migration
2026-09-09
为添加、重命名或删除列创建有序的迁移计划,同时保留回滚选项。
规划多阶段数据库变更,使旧版和新版应用程序在部署期间保持兼容。
检查拟议的数据迁移是否需要备份、事务边界、回滚缺口以及大表相关注意事项。
帮我为这个 schema 变更创建数据库迁移:[describe change]。使用 [Sequelize, TypeORM, or Prisma],并包含回滚。
规划一次零停机列重命名,将 [old column] 从 [table] 重命名为 [new column]。包含应用程序部署阶段和回滚步骤。
审查此数据迁移计划的安全性:[paste plan]。识别事务、批处理、锁定、null 处理和回滚风险。
设计从 [source database or ORM] 到 [target database or ORM] 的迁移。涵盖类型映射、数据验证、切换、回滚和监控。
作者
wshobson许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
仓库
https://github.com/wshobson/agents/tree/main/plugins/framework-migration/skills/database-migration引用
36e07d5e13068e5be64447e8f20b427cf2cbd21a
维护新鲜度
2026/7/22
使用量
11 次下载 · 276 次浏览
文件结构
📄 SKILL.md
优化生产环境 LLM 提示词
LLM 提示词经常失败,是因为指令、示例和评估标准不清晰。此技能提供模板和工作流,用于改进 Claude、Codex、Claude Code 以及类似工具中的提示词。
管理上下文驱动开发
当产品目标、技术栈选择和工作流规则分散各处时,AI 辅助项目会失去一致性。此技能通过 Conductor 上下文工件指导 Claude、Codex 和 Claude Code。
构建初创公司财务模型
初创团队在规划招聘、融资和现金使用之前,需要清晰的预测。此技能将收入、成本、资金可支撑时间和情景分析组织成实用的财务规划输出。
设计推动决策的 KPI 仪表板
团队经常构建展示大量数字却无法指导行动的仪表板。此技能可帮助 Claude、Codex 和 Claude Code 选择有意义的 KPI、组织视图,并清晰呈现指标。
编写无责事故复盘
事故评审常常变得不一致、侧重追责,或难以转化为行动。此技能帮助 Claude、Codex 和 Claude Code 起草结构化复盘,包含清晰的时间线、根本原因和负责人。
构建清晰的数据故事
原始指标往往难以说服利益相关者或支持决策。此技能帮助 Claude、Codex 和 Claude Code 将分析塑造成清晰的叙事、视觉呈现和建议。
Rehearse Convex Migrations Before Production
由 get-convex
Production schema migrations can fail when existing documents do not match new validators. This skill rehearses the migration on snapshot-seeded preview data before promotion.
规划更安全的生产部署
由 sickn33
当团队跳过检查、备份或回滚规划时,生产发布可能会失败。此技能提供实用的部署原则、验证步骤和紧急决策建议。
设计更安全的部署流水线
由 sickn33
当审批、回滚和验证不一致时,部署流水线往往会变得有风险。此技能通过门禁、策略、指标和回滚模式来指导多阶段 CI/CD 设计。
安全地创建数据库迁移
由 CrazyDubya
当文件名、回滚逻辑或 ORM 约定出错时,数据库迁移可能会破坏应用程序。此技能帮助 Claude、Codex 和 Claude Code 创建符合约定的迁移,并提供回滚指导。
规划安全的 Convex 数据迁移
由 get-convex
破坏性的 Convex schema 变更可能导致部署失败或损坏生产数据。此技能指导安全发布、批量回填、试运行和验证。
规划 Prisma MongoDB 升级
由 prisma
Prisma MongoDB 项目无法升级到 Prisma ORM v7,因为该版本不包含 MongoDB 连接器。此技能可帮助团队评估阻碍因素、安全地继续使用 v6,或规划分阶段的 Prisma Next 评估。