convex avatar

Convex Migrate Rehearse

Rehearse a risky Convex schema change before it touches prod. You seed a preview deployment with a prod snapshot, push the schema and run the backfill there, and let Convex's conformance check fail on the copy instead of on your live data. Once it's green, the same optional-then-backfill-then-tighten sequence goes to prod, with the snapshot kept as your rollback. It's worth reaching for whenever a schema change will tighten a validator over existing rows. The honest catch: it needs a Preview Deploy Key, which is a paid-tier feature, and a snapshot restore loses anything written after the export, so keep the promote window short. The fallback to a personal dev deployment works, but you lose the isolation that makes it trustworthy.

skills.sh installs
41.1K
GitHub stars
69
last updated
Oct 26, 2026

Install

$ npx -y skills add convex/agent-skills --skill convex-migrate-rehearse --agent claude-code

Installs into .claude/skills of the current project.

Files

Rehearse a schema change on a preview before prod

A schema push on Convex validates every existing document against the new schema and FAILS the push if any row doesn't conform — a real data-conformance gate. The safe way to use that gate is to let it fail on a rehearsal copy, not on prod. This capability turns a preview deployment into that copy: seed it with a prod snapshot, push the new schema + run the backfill there, watch the gate, and only promote once it's green. It composes deploy-guard (target classification), migrate (the optional-then-tighten pattern), and @convex-dev/migrations (the batched, resumable backfill).

Workflow

Sponsors

Details

Repository
github.com/convex/agent-skills
Categories
Testing & QA, AI & Agent Building, Databases
First seen
Oct 26, 2026

More from convex/agent-skills

All 30
1samber avatargolang-grpcsamber/cc-skills-golangProvides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices. Use when implementing, reviewing, or debugging gR40.7Kskills.sh installs
2limrun-inc avatarlimrun-android-emulatorlimrun-inc/skillsDrive an app running on a Limrun cloud Android emulator: install an APK, launch and terminate apps with crash reports, tap, type, read the UI element tree, scre40.2Kskills.sh installs
3flutter avatarflutter-add-widget-previewflutter/agent-pluginsAdds interactive widget previews to the project using the previews.dart system. Use when creating new UI components or updating existing screens to ensure consi38.7Kskills.sh installs
4samber avatargolang-spf13-vipersamber/cc-skills-golangGolang configuration library using spf13/viper — layered precedence (flag > env > file > KV > default), BindPFlag/BindPFlags, SetEnvPrefix + SetEnvKeyReplacer +38.3Kskills.sh installs
5samber avatargolang-how-tosamber/cc-skills-golangGolang skills orchestrator — always active on any Golang coding, review, debug, or setup task. Reads the task context and loads the most relevant skills from sa37.9Kskills.sh installs
6firecrawl avatarfirecrawl-workflowsfirecrawl/firecrawl-workflowsRun outcome-focused Firecrawl workflows that produce deliverables such as research reports, SEO audits, QA reports, lead lists, knowledge bases, website design 32.9Kskills.sh installs