convex-migration-helper

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

1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/MarcoDava/MockCortex --skill convex-migration-helper-marcodava
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-migration-helper
Source: https://github.com/MarcoDava/MockCortex/tree/main/frontend/.agents/skills/convex-migration-helper
Command: npx skills add https://github.com/MarcoDava/MockCortex --skill convex-migration-helper-marcodava

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Plans and executes safe Convex migrations to minimize downtime and data risk during schema changes.

Core Features & Use Cases

  • Cohesive migration planning using the widen-migrate-narrow pattern
  • Integration with @convex-dev/migrations for batched, resumable migrations
  • Guidance for backfilling data, adding/removing fields, and table restructuring
  • Use cases include handling deployment validation failures and zero-downtime strategies

Quick Start

Tell me how to plan and execute a Convex migration using the widen-migrate-narrow workflow and the migrations component.

Frequently Asked Questions about convex-migration-helper

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

FAQPage Schema
How do I execute zero-downtime data migrations in Convex?

Execute zero-downtime Convex migrations by applying the widen-migrate-narrow workflow and leveraging the @convex-dev/migrations component to coordinate batched, resumable data processing. This minimizes downtime and data risk during schema changes.

What is the best way to backfill data when changing a Convex schema?

The best way to backfill data during a Convex schema change is to use a cohesive migration plan that integrates batched operations. This ensures data is safely populated across existing records without causing deployment validation failures.

How do I handle Convex deployment validation failures from schema changes?

Handle Convex deployment validation failures by planning a structured migration for field additions, removals, or type changes. The widen-migrate-narrow pattern allows you to progressively adjust schemas and data to meet validation requirements safely.

Can I split or merge Convex tables without downtime?

Yes, you can split or merge Convex tables without downtime by coordinating the restructuring through a planned migration. Using the widen-migrate-narrow workflow ensures data consistency while the table structure is progressively updated.

When do I need to use the widen-migrate-narrow pattern for Convex migrations?

You need the widen-migrate-narrow pattern for Convex migrations when you are adding or removing fields, changing data types, or performing table splits and merges. It allows you to widen the schema, migrate the data, and then narrow the schema safely.

Does the Convex migrations component support resumable batched operations?

Yes, the @convex-dev/migrations component supports resumable batched operations. This allows you to process large datasets safely, pause and resume progress, and verify data integrity throughout the migration execution.