Skip to content
Skillpedia
Deploy & cloud (DevOps)48k · #3041

framework-migration-legacy-modernize

Helps your agent gradually modernize old systems. It allows replacing old parts with new ones without stopping business operations.

What it does

This tool helps modernize old software systems by gradually replacing outdated parts with new ones, without interrupting current operations. It uses a pattern called the 'strangler fig' to do this safely.

When to use it

  • ✓When you need to update an old software system.
  • ✓When planning how to replace system components without stopping everything.
  • ✓To understand risks and best practices in system modernization.

Example of what to ask your AI

“Help me plan the modernization of our old sales system, focusing on replacing the customer registration module first.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/framework-migration-legacy-modernize/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/framework-migration-legacy-modernize/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool analyzes the old system, maps its connections, assesses risks, and business impact. Then, it helps create tests and finally guides the gradual replacement of old parts with new ones.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill framework-migration-legacy-modernize

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/framework-migration-legacy-modernize/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Legacy Code Modernization Workflow

Orchestrate a comprehensive legacy system modernization using the strangler fig pattern, enabling gradual replacement of outdated components while maintaining continuous business operations through expert agent coordination.

[Extended thinking: The strangler fig pattern, named after the tropical fig tree that gradually envelops and replaces its host, represents the gold standard for risk-managed legacy modernization. This workflow implements a systematic approach where new functionality gradually replaces legacy components, allowing both systems to coexist during transition. By orchestrating specialized agents for assessment, testing, security, and implementation, we ensure each migration phase is validated before proceeding, minimizing disruption while maximizing modernization velocity.]

Use this skill when

  • Working on legacy code modernization workflow tasks or workflows
  • Needing guidance, best practices, or checklists for legacy code modernization workflow

Do not use this skill when

  • The task is unrelated to legacy code modernization workflow
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Phase 1: Legacy Assessment and Risk Analysis

1. Comprehensive Legacy System Analysis

  • Use Task tool with subagent_type="legacy-modernizer"
  • Prompt: "Analyze the legacy codebase at $ARGUMENTS. Document technical debt inventory including: outdated dependencies, deprecated APIs, security vulnerabilities, performance bottlenecks, and architectural anti-patterns. Generate a modernization readiness report with component complexity scores (1-10), dependency mapping, and database coupling analysis. Identify quick wins vs complex refactoring targets."
  • Expected output: Detailed assessment report with risk matrix and modernization priorities

2. Dependency and Integration Mapping

  • Use Task tool with subagent_type="architect-review"
  • Prompt: "Based on the legacy assessment report, create a comprehensive dependency graph showing: internal module dependencies, external service integrations, shared database schemas, and cross-system data flows. Identify integration points that will require facade patterns or adapter layers during migration. Highlight circular dependencies and tight coupling that need resolution."
  • Context from previous: Legacy assessment report, component complexity scores
  • Expected output: Visual dependency map and integration point catalog

3. Business Impact and Risk Assessment

  • Use Task tool with subagent_type="business-analytics::business-analyst"
  • Prompt: "Evaluate business impact of modernizing each component identified. Create risk assessment matrix considering: business criticality (revenue impact), user traffic patterns, data sensitivity, regulatory requirements, and fallback complexity. Prioritize components using a weighted scoring system: (Business Value × 0.4) + (Technical Risk × 0.3) + (Quick Win Potential × 0.3). Define rollback strategies for each component."
  • Context from previous: Component inventory, dependency mapping
  • Expected output: Prioritized migration roadmap with risk mitigation strategies

Phase 2: Test Coverage Establishment

1. Legacy Code Test Coverage Analysis

  • Use Task tool with subagent_type="unit-testing::test-automator"
  • Prompt: "Analyze existing test coverage for legacy components at $ARGUMENTS. Use coverage tools to identify untested code paths, missing integration tests, and absent end-to-end scenarios. For components with <40% coverage, generate characterization tests that capture current behavior without modifying functionality. Create test harness for safe refactoring."
  • Expected output: Test coverage report and characterization test suite

2. Contract Testing Implementation

  • Use Task tool with subagent_type="unit-testing::test-automator"
  • Prompt: "Implement contract tests for all integration points identified in dependency mapping. Create consumer-driven contracts for APIs, message queue interactions, and database schemas. Set up contract verification in CI/CD pipeline. Generate performance baselines for response times and throughput to validate modernized components maintain SLAs."
  • Context from previous: Integration point catalog, existing test coverage

…

FAQ

What is the 'strangler fig' pattern?

It's a technique where a new system is gradually built around the old one, replacing it piece by piece until the old one can be completely removed.

Why replace old systems?

Old systems can be slow, insecure, difficult to maintain, and don't support new technologies, which can harm business.

Does this tool replace the entire system at once?

No, it focuses on gradual replacement to minimize risks and ensure the system keeps running during the update.

Details

Original description by the author

Orchestrate a comprehensive legacy system modernization using the strangler fig pattern, enabling gradual replacement of outdated components while maintaining continuous business operations through ex

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#3041
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills