From modernization
Decides 6R modernization pattern (Rehost/Replatform/Refactor/Repurchase/Retire/Retain) using decision tree and cost/time/risk matrix. Produces justified strategy-decision.md with quantitative evidence post-workload-assessment.
How this skill is triggered — by the user, by Claude, or both
Slash command
/modernization:modernization-strategyclaude-opus-4-7This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- `workload-assessment` 가 생성한 `assessment-report.md` 가 존재하고 6R 패턴 결정이 필요할 때
workload-assessment 가 생성한 assessment-report.md 가 존재하고 6R 패턴 결정이 필요할 때assessment-report.md 가 아직 존재하지 않을 때 — 선행 skill 먼저 수행.omao/plans/modernization/assessment-report.md 가 readiness_score, five_lenses, compliance 필드를 포함assessment-report.md 를 읽어 dependency complexity, database size, traffic peak, compliance list 추출aws-samples modernization-strategy.md 기반 6개 패턴을 워크로드 특성에 매핑합니다.
| Pattern | 적합 조건 | 일정 | 노력 | 클라우드 혜택 |
|---|---|---|---|---|
| Rehost | 시간 촉박, 리스크 낮게 유지 | 주-월 | 낮음 | 낮음 |
| Replatform | 일부 클라우드 혜택 원함 (MySQL → RDS) | 월 | 중간 | 중간 |
| Refactor | 전략적 앱, 마이크로서비스 목표 | 월-년 | 높음 | 최대 |
| Repurchase | 비차별화 기능, SaaS 대체 가능 | 월 | 중간 | 중간 |
| Retire | 사용 빈도 낮고 대체재 존재 | 주 | 낮음 | 비용 절감 |
| Retain | 아직 준비 미흡, 후속 재평가 | N/A | 없음 | 없음 |
Q1. 비즈니스 가치가 Low 이고 사용 빈도가 감소 중?
YES → Retire 검토
NO → Q2
Q2. SaaS 로 대체 가능한 비차별화 기능?
YES → Repurchase 검토
NO → Q3
Q3. 현재 준비도(readiness_score) 가 Low?
YES → Retain 또는 Rehost 후 점진 개선
NO → Q4
Q4. 일정 6개월 이내 + 리스크 허용도 Low?
YES → Rehost 또는 Replatform
NO → Q5
Q5. 전략적 중요도 High + 팀 DevOps 성숙도 Medium 이상?
YES → Refactor (마이크로서비스 + 컨테이너 + IaC)
NO → Replatform (managed DB + Auto Scaling)
각 후보 패턴에 대해 정량 수치를 계산합니다. 숫자는 AWS Pricing MCP 와 과거 유사 프로젝트 데이터에서 추정합니다.
| Pattern | 3년 TCO (USD) | 마이그레이션 공수 (인-월) | 기술 리스크 (1-5) | 비즈니스 리스크 (1-5) | 컴플라이언스 리스크 (1-5) |
|---|---|---|---|---|---|
| Rehost | 450,000 | 3 | 2 | 3 | 2 |
| Replatform | 380,000 | 8 | 3 | 2 | 2 |
| Refactor | 620,000 | 24 | 4 | 2 | 3 |
.omao/plans/modernization/strategy-decision.md 에 다음을 필수로 기록합니다.
# Modernization Strategy Decision
- workload: ${workload-slug}
- decided_pattern: Replatform
- decision_date: YYYY-MM-DD
- rationale: |
1. readiness_score = Medium → Refactor 무리
2. 3년 TCO Replatform 이 Refactor 대비 39% 저렴
3. RDS 매니지드 이전으로 운영 부담 -45%
- considered_alternatives: [Rehost, Refactor]
- rejected_reasons:
- Rehost: 운영 부담 지속, TCO 절감 효과 미미
- Refactor: 팀 DevOps 성숙도 Low, 24 인-월 공수 확보 불가
- cost_time_risk_matrix: (Step 4 표)
- next_skill: to-be-architecture
- audit_trail_ref: aidlc-docs/audit.md#DEC-MOD-001
aidlc-construction/skills/risk-discovery 를 호출하여 선택된 패턴의 리스크 4축(재무·기술·조직·규정) 을 재검증합니다. PASS 가 아니면 본 skill 은 중단하고 대안 패턴을 제시합니다.
decided_pattern 은 사용자 명시적 승인을 받기 전까지 Draft 상태로 유지됩니다. 승인 후에만 to-be-architecture skill 이 기동됩니다.
to-be-architecture 자동 진행../workload-assessment/SKILL.md — 선행 skill../to-be-architecture/SKILL.md — 후속 skill/home/ubuntu/workspace/oh-my-aidlcops/plugins/aidlc-construction/CLAUDE.md — risk-discovery 제공npx claudepluginhub aws-samples/sample-oh-my-aidlcops --plugin modernizationAssesses legacy workloads for AWS brownfield migration: generates app dependency graphs, DB schemas, traffic patterns, RTO/RPO/compliance checks, technical debt scores, and Five Lenses readiness reports.
Plan large-scale migrations from old systems to new architectures. Use when modernizing legacy systems or upgrading infrastructure.
Orchestrates legacy system modernization using strangler fig pattern for gradual replacement of outdated components while maintaining operations. For assessment, risk analysis, dependency mapping, and phased migrations.