Skip to content
Back to skills

Migration Gate

ASecurity

Plan and verify a persistent schema or data change with compatibility and a realistic recovery strategy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 13, 2026
ai-agents

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add sujith011/agentic-pro-skills --skill migration-gate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Migration Gate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Migration Gate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sujith011-migration-gate/badge)](https://www.skillsdirectory.com/skills/sujith011-migration-gate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: migration-gate
description: "Plan and verify a persistent schema or data change with compatibility and a realistic recovery strategy."
---

# Migration Gate
Distinguish rollback of code from recovery of data.

## Process
1. Classify the change as additive, transforming, or destructive. Estimate locks, runtime, storage, and affected rows.
2. Prefer expand -> backfill -> switch readers/writers -> contract when mixed application versions must coexist.
3. Define backup/restore or forward-repair strategy and rehearse it on production-like test data.
4. Make backfills resumable/idempotent, with batch limits and integrity checks.
5. Test old/new compatibility, interrupted migration, and validation queries.
6. Record environment, execution sequence, owner, monitoring, and abort conditions. Execute only within authorization for that environment.

## Example
Dropping a column after a new deployment is unsafe while older instances still read it. Delay contraction until all consumers are migrated.

## Stop conditions
Do not assume a down migration restores deleted data. Stop if required backup/recovery evidence or target authorization is missing.

## Evidence
- [ ] Compatibility and data-integrity checks pass.
- [ ] Recovery was rehearsed with outcome recorded.
- [ ] Execution is bounded and interruption behavior is known.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.