Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Legacy System Modernization Engine

БесплатноБез исполняемых скриптовНе проверен

Complete methodology for assessing, planning, and executing legacy system modernization — from monolith decomposition to cloud migration. Works for any tech…

modbenderот modbender★ 21 звезда на GitHub

Об этом скилле

Legacy System Modernization Engine

Complete methodology for assessing, planning, and executing legacy system modernization — from monolith decomposition to cloud migration. Works for any tech stack, any scale.


Phase 1: System Assessment

Modernization Brief

system_name: "[Name]"
age_years: 0
primary_language: ""
framework: ""
database: ""
deployment: "on-prem | VM | container | serverless"
lines_of_code: 0
team_size: 0
monthly_users: 0
annual_revenue_supported: "$0"
compliance_requirements: []
known_pain_points: []
business_driver: "cost | speed | talent | risk | compliance | scale"
timeline_pressure: "low | medium | high | critical"
budget_range: "$0-$0"
sponsor: ""

Technical Debt Inventory

Score each dimension 1-5 (1=critical, 5=healthy):

Dimension Score Evidence
Code quality — test coverage, complexity, duplication
Architecture — coupling, modularity, clear boundaries
Infrastructure — deployment automation, monitoring, scaling
Dependencies — outdated libraries, EOL frameworks, security vulns
Data — schema quality, migration history, backup/recovery
Documentation — accuracy, coverage, onboarding effectiveness
Operations — deployment frequency, MTTR, incident rate
Security — auth patterns, encryption, audit trail, compliance gaps
Developer experience — build time, local setup, debugging tools
Business logic clarity — documented rules, test coverage of logic

Total: /50

  • 40-50: Healthy — incremental improvement
  • 30-39: Aging — targeted modernization
  • 20-29: Legacy — systematic modernization needed
  • 10-19: Critical — modernize or replace

Dependency Risk Matrix

For each major dependency:

dependency: ""
current_version: ""
latest_version: ""
eol_date: ""  # End of life
security_vulns: 0  # Known CVEs
upgrade_difficulty: "trivial | moderate | hard | rewrite"
business_risk: "low | medium | high | critical"
alternatives: []

Priority rules:

  • EOL within 12 months → P0
  • Known unpatched CVEs → P0
  • 3+ major versions behind → P1
  • No active maintainer → P1
  • Everything else → P2

Phase 2: Strategy Selection

Modernization Strategy Decision Matrix

Strategy When to Use Risk Cost Speed Disruption
Rehost (lift & shift) Datacenter exit, minimal change Low Low Fast Low
Replatform (lift & optimize) Cloud benefits without rewrite Low-Med Medium Medium Low-Med
Refactor (restructure) Good code, bad architecture Medium Medium Medium Medium
Re-architect (rebuild patterns) Monolith→services, new patterns High High Slow High
Rebuild (rewrite) Small system, clear requirements Very High Very High Very Slow Very High
Replace (buy/SaaS) Commodity functionality Medium Variable Fast High
Retire No longer needed None Negative Instant Low
Retain (do nothing) Working fine, other priorities None Ongoing N/A None

Strategy Selection Decision Tree

Is the system still needed?
├─ No → RETIRE
├─ Yes → Is it a commodity (CRM, email, etc.)?
│  ├─ Yes → REPLACE (buy SaaS)
│  └─ No → Is the code maintainable?
│     ├─ Yes → Is the architecture the problem?
│     │  ├─ Yes → RE-ARCHITECT (strangler fig)
│     │  └─ No → Is the infrastructure the problem?
│     │     ├─ Yes → REPLATFORM
│     │     └─ No → REFACTOR incrementally
│     └─ No → Is the system small (<50K LOC)?
│        ├─ Yes → Can requirements be clearly defined?
│        │  ├─ Yes → REBUILD
│        │  └─ No → REFACTOR + RE-ARCHITECT
│        └─ No → STRANGLER FIG (never big-bang rewrite)

The Big Rewrite Anti-Pattern

NEVER do a full rewrite of a large system. It fails 70%+ of the time because:

  1. The old system keeps getting features — moving target
  2. Hidden business rules only exist in code — they get lost
  3. Timeline always 2-3x longer than estimated
  4. Two systems to maintain during transition
  5. Team burns out before completion

Always use Strangler Fig instead. Replace piece by piece.


Phase 3: Strangler Fig Pattern

How It Works

  1. Identify a boundary — a feature, page, or API endpoint
  2. Build the replacement — new stack, new patterns
  3. Route traffic — proxy/facade sends requests to new or old
  4. Verify parity — same behavior, same data
  5. Cut over — remove the proxy, retire the old code
  6. Repeat — next boundary

Strangler Facade YAML

facade_name: "[API Gateway / Reverse Proxy / BFF]"
routing_rules:
  - path: "/api/users/*"
    target: "new-service"
    status: "migrated"
    migrated_dat
Полный SKILL.md на GitHub

Установить Legacy System Modernization Engine в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.md

FAQ

Что делает скилл Legacy System Modernization Engine?

Complete methodology for assessing, planning, and executing legacy system modernization — from monolith decomposition to cloud migration. Works for any tech stack, any scale.

Как установить скилл Legacy System Modernization Engine?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Legacy System Modernization Engine запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Legacy System Modernization Engine с