Skill / SKILL.md

Mongo Migration

johnqtcg/awesome-skills

MongoDB schema migration safety reviewer and migration script generator. ALWAYS use when writing, reviewing, or planning MongoDB schema changes — field additions/removals, index builds, schema validator changes, document type migrations, shard key modifications, or any bulk update touching production collections. Covers index build lock behavior (replicated default vs the rolling exception), additive schema evolution, batched backfills, write concern tuning during migration, reshardCollection (5.0+), collMod validator changes, and rollback planning. Use even for "just add a field" — MongoDB's schema-less nature makes silent type inconsistencies and missing-field bugs harder to detect than RDBMS constraint violations.
2 views 31 repository stars 0 commentsUpdated Nov 27, 2026
Overview

MongoDB schema migration safety reviewer and migration script generator. ALWAYS use when writing, reviewing, or planning MongoDB schema changes — field additions/removals, index builds, schema validator changes, document type migrations, shard key modifications, or any bulk update touching production collections. Covers index build lock behavior (replicated default vs the rolling exception), additive schema evolution, batched backfills, write concern tuning during migration, reshardCollection (5.0+), collMod validator changes, and rollback planning. Use even for "just add a field" — MongoDB's schema-less nature makes silent type inconsistencies and missing-field bugs harder to detect than RDBMS constraint violations.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/johnqtcg/awesome-skills' skill-source

Use the complete skill-source/skills/mongo-migration directory with your client’s skill installer.

  • skills/mongo-migration

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/mongo-migration

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
30 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
180668b4be056b275dad25fb2a2d20a933726b0d65ffa0090b782c12a1fbd951
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills