enterprise-legacy-migration
Use when the user asks to migrate a legacy monolith, apply the strangler fig pattern, plan a parallel run or big bang cutover, replace a mainframe, or keep…
от j4flmao★ 47 звёзд на GitHub
Установить enterprise-legacy-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Legacy Migration Agent
Purpose
Plans and executes legacy system migrations with safe cutover and rollback strategies.
Framework/Methodology
SAFE-CUTOVER Framework
Six-phase methodology for risk-controlled legacy migration:
Phase 1 - Survey: Comprehensive assessment of the legacy system. Map every dependency, integration point, data flow, and business rule. Identify undocumented behavior through log analysis and stakeholder interviews.
Phase 2 - Analyze: Evaluate migration strategies against risk, cost, timeline, and business impact. Select primary and fallback strategy. Define success criteria and rollback triggers.
Phase 3 - Fortify: Build anti-corruption layers, data synchronization pipelines, and validation frameworks. Establish parallel run capability. Create feature flags and traffic routing infrastructure.
Phase 4 - Execute: Migrate incrementally or in full per strategy. Validate at each step. Monitor error rates, latency, throughput, and business metrics. Ramp traffic gradually from 1% to 100%.
Phase 5 - Cutover: Complete the transition. Stop legacy writes, run final sync, validate completeness. Route all traffic to new system. Keep legacy read-only for fallback period.
Phase 6 - Retire: Decommission legacy after validation period. Archive data and documentation. Remove DNS, load balancers, and infrastructure. Celebrate with the team.
Strategy Comparison Matrix
| Dimension | Strangler Fig | Parallel Run | Big Bang |
|---|---|---|---|
| Risk | Lowest | Low (detection lag) | Highest |
| Duration | Longest (months-years) | Medium (weeks-months) | Shortest (days-weeks) |
| Operational Cost | Medium | Highest (dual systems) | Lowest |
| Rollback Complexity | Low (route back) | Low (use old system) | High (full revert) |
| Testing Burden | Per-feature | Full system | Full system |
| Data Sync Required | Incremental | Continuous (dual-write) | One-time ETL |
| Business Visibility | Gradual | Full during run | Hard cut, visible |
| Best For | Large complex systems | Critical financial/health | Simple systems, new |
Architecture / Decision Trees
Migration Strategy Decision Tree
Is the system > 50k lines of code with > 5 integration points?
├── Yes → Strangler Fig (incremental, safest)
└── No → Is data loss/financial impact of downtime critical?
├── Yes → Parallel Run (dual validation, slower)
└── No → Do you have full regression test coverage?
├── Yes → Big Bang (fastest, cheapest)
└── No → Strangler Fig (over-testing with characterization tests)
Rehost / Replatform / Refactor Decision
Goal: Minimize changes to application code?
├── Yes → Is hardware EOL or data center lease ending?
│ ├── Yes → Rehost (lift-and-shift, minimal code changes)
│ └── No → Replatform (move to managed services, minor code changes)
└── No → Is the application difficult to maintain or scale?
├── Yes → Refactor (rewrite/re-architect, full code changes)
└── No → Replatform (improve without full rewrite)
Risk Assessment Matrix
| Risk Factor | Low | Medium | High |
|---|---|---|---|
| Data volume | < 100GB | 100GB-1TB | > 1TB |
| Integration count | 1-2 | 3-5 | > 5 |
| Test coverage | > 80% | 50-80% | < 50% |
| Team familiarity | Built it | Maintained it | Never seen it |
| Business peak cycles | > 6 months away | 3-6 months | < 3 months |
Agent Protocol
Trigger
Exact user phrases: legacy migration, system migration, strangler fig, legacy modernization, monolith to microservices, database migration, data migration, lift and shift, replatform, rehost, refactor legacy, legacy decommission.
Input Context
- What is the source system and target platform?
- What is the data volume and schema complexity?
- What is the risk tolerance (downtime, data loss)?
- Is there an existing test suite for the legacy system?
Output Artifact
Migration plan with strategy, anti-corruption layer design, data migration approach, and cutover runbook.
Response Format
## Migration Plan: {Legacy System} -> {Target System}
### Strategy: {Strangler Fig / Big Bang / Parallel Run}
### Assessment
{dependencies, data footprint, risk analysis}
### Anti-Corruption Layer
{interface, translation, routing}
### Data Migration
{ETL, dual-write, verification}
### Cutover Plan
{steps, rollback triggers, validation}
### Decommission Checklist
{items to verify before shutdown}
No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output -- why use many token when few do trick.
Completion Criteria
- Legacy system dependency mapping completed
- Migration s
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/legacy-migration-advanced.md
- references/legacy-migration-fundamentals.md
- references/legacy-migration-patterns.md
- references/legacy-migration-risk-management.md
- references/legacy-migration-strategies.md
- references/migration-strategies.md
- references/strangler-fig-implementation.md
- references/strangler-fig.md
- references/testing-migration.md
FAQ
Что делает скилл enterprise-legacy-migration?
Use when the user asks to migrate a legacy monolith, apply the strangler fig pattern, plan a parallel run or big bang cutover, replace a mainframe, or keep dual writes in sync. Produces a migration strategy with anti-corruption layer, verification and rollback. Not for moving servers to the cloud (use cloud-migration) or refactoring code (use dev-loop-refactor-guide).
Как установить скилл enterprise-legacy-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл enterprise-legacy-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…