stripe-migration-pattern

Official

Zero-downtime Convex migrations, resumable.

Authorplanetaryescape
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured pattern to perform zero-downtime migrations on Convex schema changes. It enables resumable, multi-phase migrations that minimize risk and allow rollback opportunities between phases.

Core Features & Use Cases

  • Six-phase migration pattern: schema, backfill, dual-write, dual-read, cleanup, and complete, designed to migrate large datasets safely.
  • Checkpoint-driven progress: track per-migration progress with checkpoint data to resume after outages.
  • Cursor-based backfill: migrate data in batches without relying on offsets, ensuring scalability.
  • Dual-write/dual-read strategy: migrate to new structures while maintaining compatibility and enabling safe cutovers.
  • Use Case: upgrading a Convex schema in a production app with 1M+ records, minimizing downtime.

Quick Start

To begin, initialize a migration with a unique ID, configure batch sizes, and run the orchestrator to progress through phases. Monitor checkpoints and complete the migration once the final phase finishes. Then perform the cleanup phase to remove old fields.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stripe-migration-pattern
Download link: https://github.com/planetaryescape/blah.chat/archive/main.zip#stripe-migration-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.