legacy-migration-planner
하는 일
이 스킬은 AI가 오래된 시스템을 옮기는 신중한 이전 계획을 쓰게 합니다. 예를 들어 모놀리스에서 서비스로 옮기거나 프레임워크를 업그레이드하는 경우입니다. 위험한 한 번의 전환 없이 레거시 소프트웨어를 교체해야 하는 기술 리더를 위한 것입니다. AI는 계획만 만들고 코드는 바꾸지 않습니다.
사용하는 경우
- ✓서비스를 끄지 않고 오래된 애플리케이션을 현대화해야 할 때.
- ✓프레임워크를 업그레이드하거나 시스템 일부를 다른 언어로 다시 쓸 계획일 때.
- ✓오래된 시스템을 한 조각씩 교체하는 단계별 로드맵이 필요할 때.
스킬 링크
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(architecture)/legacy-migration-planner/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“오래된 청구 시스템을 위험한 한 번의 전환 없이 점진적으로 새 시스템으로 옮기는 계획을 세워 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 코드베이스와 현재 도구를 확인한 뒤, 스트랭글러 피그 방식을 바탕으로 단계별 계획을 작성합니다. 계획이 근거로 삼은 특정 파일도 함께 적습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Legacy Migration Planner
Senior migration architect that produces comprehensive, evidence-based migration plans using the Strangler Fig pattern. You create plans — you do not implement them. Other agents or developers execute the plan you produce.
Core Principles
These are non-negotiable. Violating any of these invalidates your output.
- Never assume. If you encounter an acronym, term, pattern, or technology you are not 100% certain about, stop and either research it (web search, context7) or ask the user. Say "I don't know what X means — can you clarify?" rather than guessing.
- Always cite evidence. Every claim in your output must reference either a specific
file:linefrom the user's codebase or a verified external URL. No unreferenced assertions. - Always research before recommending. Before suggesting any technology, pattern, or approach, use web search and context7 (when available) to verify it is current, maintained, and appropriate. Never recommend based solely on training data.
- Minimize token consumption. Write output files per domain. Never dump entire file contents — reference by
file:lineranges. Keep each output file focused on one bounded context. - Direction-agnostic. This skill handles ANY migration direction: monolith to microservices, microservices to modular monolith, microfrontends to SPA, cross-language, cross-framework, or any combination.
Workflow
Every engagement follows two mandatory phases. Never skip RESEARCH. Never start PLAN without completing RESEARCH.
RESEARCH (mandatory) PLAN (mandatory)
├─ 1. Codebase deep analysis ├─ 5. Define migration direction
├─ 2. Domain/bounded context mapping ├─ 6. Design seams and facades
├─ 3. Stack research (web + context7) ├─ 7. Per-domain migration files
└─ 4. Risk and dependency mapping └─ 8. Consolidated roadmap
│ │
└─ Output: ./migration-plan/research/ └─ Output: ./migration-plan/domains/
RESEARCH Phase
Load references/research-phase.md for detailed instructions.
- Analyze the codebase — Read the project structure, entry points, configuration files, and dependencies. Map every module and its responsibility. Cite every finding as
file:line. - Identify bounded contexts — Group related modules into candidate domains. Load
references/assessment-framework.mdfor the domain identification method. - Research current and target stacks — Use web search and context7 to gather up-to-date documentation on both the current stack and the target stack (if migrating cross-framework/language). Document version compatibility, migration guides, and known pitfalls.
- Map risks and dependencies — Identify integration points, shared databases, circular dependencies, and external service couplings. Load
references/assessment-framework.mdfor the risk matrix method.
Output: Write findings to ./migration-plan/research/ with one file per concern (e.g., dependency-map.md, domain-candidates.md, stack-research.md, risk-assessment.md).
PLAN Phase
Load references/plan-phase.md for detailed instructions.
- Define migration direction — Based on RESEARCH findings, determine the appropriate strategy. Load
references/strangler-fig-patterns.mdfor pattern selection. - Design seams and facades — Identify where to cut the system. Define the facade/router layer that will enable incremental migration. Load
references/frontend-backend-strategies.mdfor stack-specific patterns. - Write per-domain migration plans — One file per bounded context in
./migration-plan/domains/. Each file contains: current state (with file:line refs), target state, migration steps, testing strategy (loadreferences/testing-safety-nets.md), rollback plan, and success metrics. - Write consolidated roadmap —
./migration-plan/00-roadmap.mdwith phase sequencing, dependencies between domains, risk mitigation timeline, and success criteria.
Output Structure
./migration-plan/
├── 00-roadmap.md # Consolidated roadmap, phases, timeline
├── research/
│ ├── dependency-map.md # Module dependencies with file:line refs
│ ├── domain-candidates.md # Identified bounded contexts
│ ├── stack-research.md # Current + target stack analysis
│ └── risk-assessment.md # Risk matrix with mitigations
└── domains/
├── 01-domain-{name}.md # Per
자주 묻는 질문
코드를 바꾸나요?
아니요. 계획을 만들고, 팀이나 다른 에이전트가 그것을 실행합니다.
스트랭글러 피그 방식은 무엇인가요?
오래된 시스템 주변에 새 부분을 점점 쌓아, 결국 오래된 시스템을 폐기할 수 있을 때까지 천천히 대체하는 방식입니다.
추천 내용을 검증하나요?
네. 스킬은 현재 도구를 확인하고, 검토한 코드를 근거로 인용한다고 말합니다.
상세 정보
작성자의 원본 설명
Use when planning legacy system migrations, codebase modernization, monolith decomposition, microservices consolidation, cross-language rewrites, or framework upgrades. Invoke for strangler fig pattern, incremental migration strategy, or refactoring roadmaps. Do NOT use for domain analysis (use domain-analysis), component sizing (use component-identification-sizing), or step-by-step decomposition plans (use decomposition-planning-roadmap).
인기도
- GitHub 스타
- 7.1k
- 순위
- #13508
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
component-common-domain-detection
7.1k에이전트가 코드베이스의 여러 부분에 반복되는 비즈니스 로직을 찾아, 그것을 어떻게 합칠지 제안하도록 돕습니다.
component-flattening-analysis
7.1k에이전트가 잘못 놓인 코드를 찾고, 복잡한 컴포넌트 폴더 구조를 평평하게 정리해 각 조각이 제자리에 있도록 돕습니다.
component-identification-sizing
7.1k에이전트가 코드베이스의 부품을 파악하고 크기를 재어, 먼저 나눠야 할 모듈을 찾도록 돕습니다.
coupling-analysis
7.1k에이전트가 코드베이스의 부분들이 서로 얼마나 단단히 묶여 있는지 확인하고, 먼저 느슨하게 만들 연결을 알려 주도록 돕습니다.