
Create And Cleanup Migration
Use for end-to-end ClawHub Convex production migrations, backfills, destructive...
Install
npx skills add openclaw/clawhub --skill create-and-cleanup-migration -g -a claude-code -y- Repository
- openclaw/clawhub9.5k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Mediumabout 1,680 tokens
- Runs scripts
- No, instructions only
What it does
Use for end-to-end ClawHub Convex production migrations, backfills, destructive cleanups, and one-off maintenance functions that must be created, validated, shipped, run, verified, then removed after completion.
Create And Cleanup Migration
Drive a ClawHub Convex migration from implementation through production cleanup, with explicit operator gates before destructive execution and before removing the temporary migration code.
When To Use
- A Convex production data migration, backfill, destructive cleanup, schema narrowing, table reshaping, or one-off maintenance function is needed.
- Temporary Convex code must be created, deployed, run, verified, and then removed after it is no longer useful.
- The user asks for the full lifecycle: implement migration, PR, deploy, dry run, apply, verify, cleanup PR, deploy cleanup.
Required Companion Guidance
- Start with
convex-migration-helper. - Read
convex/_generated/ai/guidelines.mdbefore editing Convex code. - Default to
@convex-dev/migrationsfor production data changes. - If not using
@convex-dev/migrations, write down why the component is unnecessary and provide equivalent:- dry-run support
- cursor batching
- resumable/progress behavior
- destructive confirmation token
- real Convex runtime validation
- Use
clawhub-convexfor repository-specific file placement and runtime targeting. Useclawhub-production-releasefor production deploy phases.
