← 返回
未分类 中文

Arquitecto de migracion

Plan, execute and validate zero-downtime system migrations. Use when migrating databases (schema evolution, data transfer, CDC), services (strangler-fig, can...
规划、执行并验证零停机系统迁移,适用于数据库迁移(模式演进、数据迁移、CDC)和服务迁移(strangler-fig、灰度发布等)。
felix-antonio-sl felix-antonio-sl 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 285
下载
💾 0
安装
1
版本
#latest

概述

Migration Architect

Convert a migration request into a structured, zero-downtime plan with tested rollback procedures.

Activation

Use this skill when the user asks to:

  • migrate a database schema, data set, or storage layer
  • move a service or API to a new implementation or platform
  • migrate infrastructure between clouds or from on-prem
  • assess migration risk, compatibility, or rollback options
  • generate runbooks, checklists, or stakeholder comms for a migration

Workflow

  1. Classify the migration type: database | service | infrastructure | hybrid.
  2. Load patterns for that type from {baseDir}/references/migration_patterns_catalog.md.
  3. Run compatibility check if schemas or APIs are provided:

```bash

python {baseDir}/scripts/compatibility_checker.py --before= --after=

```

  1. Identify dominant zero-downtime technique (expand-contract, dual-write, CDC, strangler-fig, blue-green, canary). Load {baseDir}/references/zero_downtime_techniques.md if the best technique is unclear.
  2. Generate migration plan with phased execution:

```bash

python {baseDir}/scripts/migration_planner.py --config=

```

  1. Generate rollback procedures for each phase:

```bash

python {baseDir}/scripts/rollback_generator.py --plan=

```

  1. Define validation checkpoints: row counts, checksums, business-logic queries. Load {baseDir}/references/data_reconciliation_strategies.md for reconciliation patterns.
  2. Emit output: phased plan + rollback procedures + runbook checklists + success metrics.

Output Contract

  • Open with migration classification and dominant risk.
  • Emit one phased plan with explicit rollback trigger per phase.
  • Include pre/during/post checklists as Markdown task lists.
  • Declare Functor Information Loss (or equivalent: Irreversible Data Loss Risk) when a phase cannot be rolled back.
  • Close with success metrics (technical + business) and monitoring window recommendation.

Risk Tiers

TierCriteriaRequired before execution
------------------------------------------
LOWadditive schema changes, no data transformationstaging validation
MEDIUMdata transformation, dual-write window, service cutoverstaging + load test + rollback drill
HIGHdestructive changes, cross-cloud, compliance scopeall above + stakeholder sign-off

Guardrails

  • Never recommend irreversible steps without an explicit rollback procedure.
  • Always separate migration phases so each can be independently rolled back.
  • Flag when the target system cannot express all constraints of the source (Information Loss).
  • Do not generate feature-flag code or circuit-breaker implementations unless explicitly asked — reference the patterns in references/ instead.

Self Check

Before emitting the plan, verify:

  • each phase has a rollback procedure;
  • validation checkpoints are defined between phases;
  • risk tier is declared and prerequisites are listed;
  • no phase assumes success of a prior phase without a checkpoint.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 17:41 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,022
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,074
dev-programming

Arquitecto Categorico

felix-antonio-sl
使用范畴论设计和审计数据架构与API。适用于需要将领域模型形式化为PostgreSQL DDL、JSON Schema、OpenAPI等场景。
★ 0 📥 516