SKILL

oc-migration-ops

Migration and refactor operator for live systems: database migrations (D1 → Postgres, schema overhauls), framework upgrades (Hono v3→v4, React 18→19), auth provider swaps, monorepo restructures, and platform moves (Workers → Vercel). Produces incremental plans with rollback points at every step, executes with verification gates, and validates the end state matches the target spec. ALWAYS trigger on /oc-migrate, /oc-migration, /oc-upgrade, /oc-refactor, /oc-swap, /oc-move-to, /oc-platform-move. Also trigger on "migrate from X to Y", "upgrade to", "swap auth provider", "move database", "restructure the monorepo", "refactor to use", "breaking changes", "deprecation", "end of life". Also covers opchain ecosystem upgrades: "update all skills", "checkpoint protocol upgrade", "bulk update SKILL.md". Trigger when transforming an existing system from one state to another — not greenfield building (oc-app-architect) or documenting what exists (oc-reverse-spec).

原文 · 译文尚未补齐

适用对象:React / Next.js。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Migration Ops
  • /oc-migrate — Command Reference
  • How This Skill Fits the Pipeline
  • Migration Types
  • Auto-Detection
  • Phase 0: Assessment (/oc-migrate assess)
  • Step 1: Gather Current State
  • Step 2: Define Target State

On first invocation, read references/orchestrator.md and follow its welcome protocol. The "change the engine mid-flight" skill. Fills the gap between oc-reverse-spec ("what I have") and oc-app-architect ("what I want") when the answer is "transform one into the other" — without downtime, without data loss, and with a rollback at every step. This is inherently multi-session work. A database migration plan might span 3–4 conversations. Checkpoint protocol adoption is critical from day one. -- Migration-ops sits between "what exists" and "what should exist" — it's the transformation engine. It does NOT build new features (oc-app-architect) or document existing code (oc-reverse-spec). It transforms running systems from state A to state B. -- Every migration request is classified into one of these types. The type determines which reference playbook to load and which verification strategy to use. | Type | Examples | Risk | Key Concern | |---|---|---|---| | Database | D1 → Postgres, schema overhaul, ORM swap, warehouse engine moves (BigQuery → Snowflake), dbt-model/schema overhauls | HIGH | Data integrity, zero data loss | | Framework | Hono v3→v4, React 18→19, Next.js pages→app router |

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
asfbay-bit/opchain-skills
源文件
skills/oc-migration-ops/SKILL.md
固定版本
1c7c7bd69a7d875a5dffb419911c24752ca6c285
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:asfbay-bit/opchain-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T17:01:27.185Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

Apache-2.0。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。