Convex Migration Helper
技能 已验证 活跃规划 Convex schema 和数据迁移,支持 widen-migrate-narrow 和 @convex-dev/migrations。适用于破坏性 schema 更改、回填、表重塑或零停机部署。
安全地规划和执行 Convex 应用的破坏性 schema 和数据迁移,确保数据完整性和零停机部署。
功能
- 规划 Convex schema 和数据迁移
- 利用 @convex-dev/migrations 组件
- 涵盖破坏性 schema 更改、回填和重塑
- 提供零停机迁移策略
- 记录常见的迁移模式和陷阱
使用场景
- 实现破坏性 schema 更改
- 为新字段执行数据回填
- 重塑现有表或拆分数据
- 实现零停机 schema 更新
非目标
- 在没有现有数据的情况下进行全新 schema 开发
- 添加不需要回填的可选字段
- 添加没有需要迁移的现有数据的新表
- 关于在没有迁移需求的一般 Convex schema 设计的问题
工作流
- 更新 schema 以允许旧格式和新格式
- 更新代码以在读写过程中处理这两种格式
- 部署扩展的 schema 和更新后的代码
- 使用 @convex-dev/migrations 组件定义并运行迁移
- 验证迁移是否完成
- 更新 schema 以仅要求新格式
- 移除旧格式代码
- 部署最终的 schema 和代码
安装
npx skills add get-convex/agent-skills通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。
质量评分
已验证类似扩展
Dsql
100Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.
Azure Postgres Ts
100Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL connection", "PostgreSQL TypeScript", "pg Pool", "passwordless postgres".
DBHub Database Query Guide
100DBHub MCP 服务器查询数据库指南。每当您需要通过 DBHub 的 MCP 工具(search_objects、execute_sql)来探索数据库模式、检查表或运行 SQL 查询时,请使用此技能。在任何数据库查询任务、模式探索、数据检索或通过 MCP 执行 SQL 时激活,即使用户只说“检查数据库”或“为我查找一些数据”。此技能可确保您遵循正确的先探索后查询的工作流程,而不是猜测表结构。
Senior Backend Engineer
100Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs". Covers Node.js/Express/Fastify development, PostgreSQL optimization, API security, and backend architecture patterns.
Migrate Create
99Create a new sequentially numbered database migration with up/down SQL files
V3 Memory Unification
99Unify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend).