规划安全的 schema、数据、API、契约和配置迁移,覆盖发布阶段、向后兼容、验证、回滚、数据回填和部署顺序;当 Codex 被要求设计或评审迁移、破坏性 API 变更、数据库变更、数据回填、特性开关发布或兼容性敏感版本时使用。
Scanned 9/7/2026
Install to Claude Code
npx -y skills add franklioxygen/agent-workflows --skill migration-planning --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Migration Planning?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/franklioxygen-migration-planning-agent-workflows)More formats (shields.io, HTML) on the badges page.
---
name: migration-planning
description: 规划安全的 schema、数据、API、契约和配置迁移,覆盖发布阶段、向后兼容、验证、回滚、数据回填和部署顺序;当 Codex 被要求设计或评审迁移、破坏性 API 变更、数据库变更、数据回填、特性开关发布或兼容性敏感版本时使用。
---
<!--
Function Name: migration-planning.zh-cn
Description: 安全迁移规划与评审技能说明中文翻译。
-->
# 迁移规划
## 快速开始
- 当仓库路径或变更路径可用时,运行 `scripts/migration_signal_scan.py <path>`。
- 在完成计划前,先阅读 [references/migration-checklist.md](references/migration-checklist.md)。
- 遵循 [../_shared/references/skill-operating-rules.md](../_shared/references/skill-operating-rules.md) 中共享的安全、验证和范围规则。
- 对数据库和公共契约优先采用 expand-contract 迁移模式。
- 未经明确许可,不要执行迁移、修改数据、部署、提交或推送。
## 规划流程
1. 识别迁移对象:schema、数据、API、事件契约、配置、依赖或运行时行为。
2. 定义兼容性要求:旧代码配合新数据、新代码配合旧数据、旧客户端配合新 API,以及回滚路径。
3. 把发布拆成多个阶段:
- Prepare:加法式变更、双读或双写、特性开关。
- Backfill:幂等、可恢复、可观测的数据变更。
- Switch:把流量或行为切换到新路径。
- Contract:只有在安全性被证明之后,才移除旧字段、旧代码、旧开关或兼容垫片。
4. 为每个阶段产出带验证和回滚方案的迁移计划。
5. 明确标记不可逆步骤,并在执行前要求批准。
## 输出规则
- 包含部署顺序和回滚顺序。
- 包含数据验证查询或检查项。
- 包含监控和告警信号。
- 包含影响面和预期耗时。
- 说明移除兼容性代码之前必须满足哪些条件。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...
Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.
Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.
A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling