Skip to content
Back to skills

Migration Planning

ASecurity

Plan safe schema, data, API, contract, and configuration migrations with rollout phases, backward compatibility, validation, rollback, data backfill, and deployment sequencing. Use when Codex is asked to design or review a migration, breaking API change, database change, data backfill, feature-flag rollout, or compatibility-sensitive release.

  • 75 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
ai-agentsapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned May 28, 2026

npx -y skills add franklioxygen/agent-workflows --skill migration-planning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Migration Planning?

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

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

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-planning
description: Plan safe schema, data, API, contract, and configuration migrations with rollout phases, backward compatibility, validation, rollback, data backfill, and deployment sequencing. Use when Codex is asked to design or review a migration, breaking API change, database change, data backfill, feature-flag rollout, or compatibility-sensitive release.
---

<!--
Function Name: migration-planning
Description: Codex skill instructions for safe migration planning and review.
-->

# Migration Planning

## Quick Start

- Run `scripts/migration_signal_scan.py <path>` when a repository or change path is available.
- Read [references/migration-checklist.md](references/migration-checklist.md) before finalizing the plan.
- Follow shared safety, validation, and scope rules in [../_shared/references/skill-operating-rules.md](../_shared/references/skill-operating-rules.md).
- Prefer expand-contract migrations for databases and public contracts.
- Do not run migrations, mutate data, deploy, commit, or push without explicit permission.

## Planning Workflow

1. Identify what is migrating: schema, data, API, event contract, config, dependency, or runtime behavior.
2. Define compatibility requirements: old code with new data, new code with old data, old clients with new API, rollback path.
3. Split rollout into phases:

- Prepare: additive changes, dual-read or dual-write, feature flags.
- Backfill: idempotent, resumable, observable data changes.
- Switch: traffic or behavior moves to the new path.
- Contract: remove old fields, code, flags, or compatibility shims only after safety is proven.

4. Produce a migration plan with validation and rollback for every phase.
5. Mark irreversible steps explicitly and require approval before execution.

## Output Rules

- Include deployment order and rollback order.
- Include data validation queries or checks.
- Include monitoring and alerting signals.
- Include blast radius and expected duration.
- State what must be true before removing compatibility code.

Files in this skill

  • SKILL.md2 KB
  • agents/interface.yaml301 B
  • references/migration-checklist.md1.1 KB
  • scripts/migration_signal_scan.py2.4 KB

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.