Langsung ke konten
Skillpedia
Pemrograman umum7.1k Β· #13508

legacy-migration-planner

Fungsinya

Skill ini membuat AI menyusun rencana migrasi yang cermat untuk sistem lama, misalnya pindah dari monolit ke layanan atau meningkatkan framework. Skill ini ditujukan untuk technical lead yang harus mengganti perangkat lunak lama tanpa peralihan besar sekaligus yang berisiko. AI membuat rencana, bukan perubahan kode.

Kapan dipakai

  • βœ“Saat Anda perlu memodernisasi aplikasi lama tanpa menghentikannya.
  • βœ“Ketika Anda berencana meningkatkan framework atau menulis ulang sebagian sistem dengan bahasa lain.
  • βœ“Ketika Anda ingin peta jalan bertahap yang mengganti sistem lama sedikit demi sedikit.

Link skill

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(architecture)/legacy-migration-planner/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(architecture)/legacy-migration-planner/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œRencanakan bagaimana kami bisa memindahkan sistem penagihan lama ke yang baru secara bertahap, tanpa peralihan besar yang berisiko.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI memeriksa basis kode dan alat terkini, lalu menyusun rencana bertahap berdasarkan pendekatan strangler fig, dengan merujuk pada file spesifik yang dijadikan dasar.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

  1. 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.
  2. Always cite evidence. Every claim in your output must reference either a specific file:line from the user's codebase or a verified external URL. No unreferenced assertions.
  3. 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.
  4. Minimize token consumption. Write output files per domain. Never dump entire file contents β€” reference by file:line ranges. Keep each output file focused on one bounded context.
  5. 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.

  1. 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.
  2. Identify bounded contexts β€” Group related modules into candidate domains. Load references/assessment-framework.md for the domain identification method.
  3. 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.
  4. Map risks and dependencies β€” Identify integration points, shared databases, circular dependencies, and external service couplings. Load references/assessment-framework.md for 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.

  1. Define migration direction β€” Based on RESEARCH findings, determine the appropriate strategy. Load references/strangler-fig-patterns.md for pattern selection.
  2. 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.md for stack-specific patterns.
  3. 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 (load references/testing-safety-nets.md), rollback plan, and success metrics.
  4. Write consolidated roadmap β€” ./migration-plan/00-roadmap.md with 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
Pertanyaan umum

Apakah skill ini mengubah kode saya?

Tidak. Skill ini membuat rencana, dan tim Anda atau agent lain yang menjalankannya.

Apa itu pendekatan strangler fig?

Pendekatan ini mengganti sistem lama secara bertahap dengan membangun bagian baru di sekelilingnya, sampai sistem lama bisa dipensiunkan.

Apakah skill ini memeriksa rekomendasinya?

Ya. Skill ini menyatakan akan memverifikasi alat terkini dan mengutip kode yang diperiksanya.

Detail

Deskripsi asli dari pembuat

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).

repo: tech-leads-club/agent-skills

Popularitas

Bintang GitHub
7.1k
Peringkat
#13508
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa