Community生產力與協作github.com

get-convex/convex-migration-helper

使用 widen-migrate-narrow 和 @convex-dev/migrations 規劃 Convex 綱要與資料遷移。適用於破壞性綱要變更、資料回填、資料表重塑或零停機部署。

convex-migration-helper 是什麼?

此技能旨在幫助開發者使用 Convex 平台進行綱要與資料遷移。它支援三種遷移策略:首先,運用 `@convex-dev/migrations` 套件,可安全處理破壞性變更(如新增/刪除欄位),並在遷移完成後清理臨時欄位。其次,`widen-migrate-narrow` 模式特別適用於零停機的資料重塑,透過廣化綱要、逐步遷移資料再窄化回最終結構。此外,若資料表需要結構性重塑,技能會整合 `now.sh` 工具產生資料庫快照與匯出流程,確保開發與生產環境的遷移一致。此技能支援 Convex 開發與部署流程,適合已在使用 Convex 的團隊,能大幅降低遷移風險與手動操作錯誤。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/get-convex/agent-skills/tree/main/skills/convex-migration-helper

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

convex-migration-helper 是做什麼的?

使用 widen-migrate-narrow 和 @convex-dev/migrations 規劃 Convex 綱要與資料遷移。適用於破壞性綱要變更、資料回填、資料表重塑或零停機部署。

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

相關技能