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★ 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:
- The old system keeps getting features — moving target
- Hidden business rules only exist in code — they get lost
- Timeline always 2-3x longer than estimated
- Two systems to maintain during transition
- Team burns out before completion
Always use Strangler Fig instead. Replace piece by piece.
Phase 3: Strangler Fig Pattern
How It Works
- Identify a boundary — a feature, page, or API endpoint
- Build the replacement — new stack, new patterns
- Route traffic — proxy/facade sends requests to new or old
- Verify parity — same behavior, same data
- Cut over — remove the proxy, retire the old code
- 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
Установить Legacy System Modernization Engine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic