framework-migration-legacy-modernize

framework-migration-legacy-modernize is a skill for Claude Code from ratnesh-maurya/cursor-claude-personas. It costs 36 tokens per session (2,029 once invoked), scanned A, a copy of framework-migration-legacy-modernize, MIT.

A workflow for gradually replacing an old software system while it continues serving users. It uses the strangler fig pattern, where new parts are built around and slowly replace the old parts.

In plain words
What is it for?
Use it to assess legacy code, plan modernization phases, coordinate testing and security work, and implement replacements step by step.
Why use it?
It breaks a risky replacement into checked stages, so the old and new systems can operate together during the transition.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to assess legacy code, plan modernization phases, coordinate testing and security work, and implement replacements step by step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ratnesh-maurya/cursor-claude-personas/framework-migration-legacy-modernize
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ratnesh-maurya/cursor-claude-personas --skill framework-migration-legacy-modernize
Clone the repo
git clone --depth 1 https://github.com/ratnesh-maurya/cursor-claude-personas

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for framework-migration-legacy-modernize

README.md
[![agentmods](https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/framework-migration-legacy-modernize/github.svg)](https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/framework-migration-legacy-modernize)
Your own site
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/framework-migration-legacy-modernize"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/framework-migration-legacy-modernize/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for framework-migration-legacy-modernize

Your own site · 80×15
<a href="https://agentmods.dev/skills/ratnesh-maurya/cursor-claude-personas/framework-migration-legacy-modernize"><img src="https://agentmods.dev/badge/skills/ratnesh-maurya/cursor-claude-personas/framework-migration-legacy-modernize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,029 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.02029
Opus 5.5 $0.00014 $0.00812
Sonnet 5.5 $0.00007 $0.00406
Haiku 4.5 $0.00004 $0.00203

Measured 3mo ago against content hash 30b5ebbe1576, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

framework-migration-legacy-modernize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to framework-migration-legacy-modernize — 40 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/framework-migration-legacy-modernize/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on 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.
  • If detailed examples are required, open resources/implementation-playbook.md.

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

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 136 lines · 36 tokens per session scan A 30b5ebbe1576

Subscribe to this mod's changes

framework-migration-legacy-modernize is a skill published in the GitHub repository ratnesh-maurya/cursor-claude-personas (12 stars, last pushed 8mo ago), licensed MIT. It adds 36 tokens to every session and 2,029 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to framework-migration-legacy-modernize, differing in 40 lines, and is treated as a copy.

Related

framework-migration-legacy-modernize compared with skills from other repositories

framework-migration-legacy-modernize next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
framework-migration-legacy-modernizeratnesh-maurya/cursor-claude-personasSkill128mo agoMITA36Claude Code
gemini-api-agent-platformdavila7/claude-code-templatesSkill34kyesterdayMITA61Claude Code, Codex
cqrs-implementationwshobson/agentsSkill43k6d agoMITA35Claude Code
durable-objectsfcakyon/claude-codex-settingsSkill1.2kyesterdayApache-2.0A22Claude Code
api-doc-generatorJackyST0/awesome-agent-skillsSkill6734d agoCC0-1.0A23Claude Code, Codex
create-slack-appslackapi/slack-skills-pluginSkill1763d agoMITA101Claude Code
integratesuboss87/FDEOpsSkill7722d agoMITA33Claude Code, Codex