convex-migration-helper

Plan and execute Convex schema migrations with the widen-migrate-narrow workflow.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Division6066/tempo-rhythm --skill convex-migration-helper-division6066
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-migration-helper
Source: https://github.com/Division6066/tempo-rhythm/tree/main/.agents/skills/convex-migration-helper
Command: npx skills add https://github.com/Division6066/tempo-rhythm --skill convex-migration-helper-division6066

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Safely migrate Convex schemas and data during breaking changes to minimize downtime and preserve data integrity across deployments.

Core Features & Use Cases

  • Online, zero-downtime migrations using the widen-migrate-narrow workflow.
  • Backfilling and transforming existing documents to accommodate schema changes.
  • Guidance and tooling for multi-deploy rollouts with the @convex-dev/migrations component.

Quick Start

Plan and execute your first migration by outlining the schema change and running a safe migration plan.

Frequently Asked Questions about convex-migration-helper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run zero-downtime Convex migrations when changing a table schema?

To run zero-downtime Convex migrations, you apply the widen-migrate-narrow workflow alongside the @convex-dev/migrations component, allowing you to backfill existing documents and restructure tables safely during production deployments.

What is the best way to backfill existing documents in Convex after adding a new field?

The best way to backfill existing Convex documents is using the @convex-dev/migrations component to transform data safely, ensuring data integrity across your deployment without causing downtime.

How does the widen-migrate-narrow workflow handle schema changes in Convex?

The widen-migrate-narrow workflow handles Convex schema changes by first widening the schema to accept both old and new formats, migrating the data, and finally narrowing the schema to enforce the new structure safely.

Can I use the Convex migrations component for multi-deploy rollouts?

Yes, you can use the @convex-dev/migrations component to manage multi-deploy rollouts, providing guidance and tooling to safely transition schemas and data across different Convex application deployments.

Do I need to perform dry-runs when executing Convex data migrations?

Performing optional dry-runs is recommended for Convex data migrations to validate the schema change plan and ensure proper fallbacks are in place before modifying production data.

What are the limitations of using the widen-migrate-narrow approach for Convex deployments?

The widen-migrate-narrow approach requires familiarity with Convex migrations and careful planning for fallbacks; limitations arise if proper fallbacks are not configured, risking data integrity during breaking schema changes.