convex-migration
About
This skill provides guidance for performing data migrations in Convex safely and effectively. It outlines a step-by-step workflow including schema preparation, migration definition with idempotent functions, and dry-run verification before full execution. Developers should use it when needing to transform existing database data while maintaining application stability during the migration process.
Quick Install
Claude Code
Recommended/plugin add https://github.com/majiayu000/claude-skill-registrygit clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/convex-migrationCopy and paste this command in Claude Code to install this skill
Documentation
Use @convex-dev/migrations in convex/migrations.ts (reference convex_migrations.md for full guidance). The standard flow is:
- loosen schema/app to tolerate old+new values
- add
migrations.define({ table, migrateOne })inconvex/migrations.ts(idempotent; skip no‑ops; no external APIs). - dry run:
npx convex run migrations:runYourFn '{"dryRun":true,"cursor":null}' - full run:
npx convex run migrations:runYourFn '{"cursor":null}'* - monitor:
npx convex run --component migrations lib:getStatus --watch - cancel:
npx convex run --component migrations lib:cancel '{"name":"migrations:yourFnName"}'.
*"cursor":null makes it to real work from the start (as opposed to the dry-run default); omit only when resuming from a specific cursor.
GitHub Repository
Related Skills
content-collections
MetaThis skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
creating-opencode-plugins
MetaThis skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.
langchain
MetaLangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.
cloudflare-turnstile
MetaThis skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.
