Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization.

Custom licenceAuto-check passedDevelopment

Install Legacy Modernizer

skills CLI
$ npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill legacy-modernizer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI legacy-modernizer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agent/skills/legacy-modernizer .claude/skills/legacy-modernizer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
legacy-modernizer
GitHub stars
508
Token cost
~769 tokens
SKILL.md length
340 words
Files
5 (incl. scripts)
Skills in repo
27
Repo updated
First seen
Licence
Custom licence

At a glance

Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization.

  • Works in 5 steps: Modernization Strategy (Strangler Fig) → Dependency & Version Upgrades → Code Migration & Refactoring → …
  • Tasks that involve Legacy modernization
  • SKILL.md covers 📑 Internal Menu, 1. Modernization Strategy…, 2. Dependency & Version Upgrades and 3. Code Migration & Refactoring, plus 4 more sections
  • Runs JavaScript and Python scripts from its folder

What it does

Legacy Modernizer is an agent skill from Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI. Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts (for example `resources/strangler_fig_pattern.md`, `scripts/refactor_suggestion.js` and `scripts/refactor_suggestion.py`).

It sits in Development, covering Legacy modernization, Refactoring and Code migrations.

When your agent uses it

  • Tasks that involve Legacy modernization
  • Tasks that involve Refactoring
  • Tasks that involve Code migrations

Example prompts

  • “/legacy-modernizer”

Requirements

  • Python 3
  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Modernization Strategy (Strangler Fig)
  2. Dependency & Version Upgrades
  3. Code Migration & Refactoring
  4. Framework Transitions
  5. Validation & Backward Compatibility

What it can do on your machine

Read from SKILL.md and the folder at commit c4a059b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (JavaScript and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Legacy Modernizer loads about 769 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 340 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~769

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 340 words (~769 tokens).

“You are a Principal Modernization Engineer and Software Strategist. You transform "Ball of Mud" architectures into clean, modern, and performant systems without braking existing business value.”

— opening of SKILL.md by Dokhacgiakhoa, Custom licence
name
legacy-modernizer
category
development
version
4.1.0-fractal
layer
master-skill

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts) in .agent/skills/legacy-modernizer of Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.

  • SKILL.md
  • resources/strangler_fig_pattern.md
  • scripts/refactor_suggestion.js
  • scripts/refactor_suggestion.py
  • sub-skills/strangler_fig_pattern.md

Open the folder on GitHubat commit c4a059b

Compare with similar skills

Legacy Modernizer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Legacy Modernizer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legacy Modernizer this skillDokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI508—~769Automated safety check: PassCustom licence
Extract Command from Git::Libruby-git/ruby-git1.8k—~4.4kAutomated safety check: PassMIT
Legacy ModernizerJeffallan/claude-skills12k—~1.6kAutomated safety check: PassMIT
Golang Modernizeaiskillstore/marketplace4331 repos~3.3kAutomated safety check: PassMIT
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
ast-grep Structural Searchcode-yeongyu/oh-my-openagent70k—~3.3kAutomated safety check: PassMIT

Similar skills

  • Migrates a direct command call in Ruby Git's Git::Lib to a Git::Commands class, as part of a Strangler Fig redesign, with a plan, legacy tests and a pull request.

    1.8k GitHub stars~4.4k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Legacy Modernizer

    Jeffallan/claude-skills

    Plans incremental migrations of aging systems with the strangler fig pattern, using dependency maps, rollback plans, characterization tests and gradual traffic shifts.

    12k GitHub stars~1.6k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Golang Modernize

    aiskillstore/marketplace

    Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns.

    433 GitHub starsUsed in 1 repo~3.3k tokens
    DevelopmentAuto-check passed
  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • ast-grep Structural Search

    code-yeongyu/oh-my-openagent

    Searches and rewrites code by syntax-tree shape across 25 languages with ast-grep, for codemods, structural queries and YAML lint rules, using a Python wrapper script.

    70k GitHub stars~3.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Refactoring Workflow

    luongnv89/claude-howto

    Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.

    42k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed

More from Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

All 27 skills in this repo
  • Agent D3js Skill

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    Creating interactive data visualisations using d3.js. An agent skill from Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.

    508 GitHub stars~753 tokensUpdated 4 mo ago
    Auto-check passed
  • AI Engineer

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    Principal AI Architect and Machine Learning Engineer. An agent skill from Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.

    508 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • API Documenter

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    Master API documentation with OpenAPI 3.1. An agent skill from Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.

    508 GitHub stars~602 tokensUpdated 4 mo ago
    Auto-check passed
  • Cloud Architect Master

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    Elite Cloud and Multi-Cloud Architect Master Skill. An agent skill from Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.

    508 GitHub stars~758 tokensUpdated 4 mo ago
    Auto-check passed
  • Full Stack Scaffold

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    Unified project scaffolding for Node.js, Python, Rust, and Mobile.

    508 GitHub stars~548 tokensUpdated 4 mo ago
    Auto-check passed
  • Incident Responder

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    Expert SRE incident responder specializing in rapid problem resolution.

    508 GitHub stars~706 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Legacy Modernizer

What does Legacy Modernizer do?

Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Legacy Modernizer is an agent skill from Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI. Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization.

When should I use Legacy Modernizer?

Legacy Modernizer fits situations like: tasks that involve Legacy modernization; tasks that involve Refactoring; tasks that involve Code migrations.

How do I install Legacy Modernizer in Claude Code?

Run `npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill legacy-modernizer -a claude-code`. Or copy the skill folder (.agent/skills/legacy-modernizer in Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI) into .claude/skills/legacy-modernizer in your project. Claude Code loads it when a task matches its description.

How do I install Legacy Modernizer in Codex?

Run `npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill legacy-modernizer -a codex`. Or copy the skill folder (.agent/skills/legacy-modernizer in Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI) into .agents/skills/legacy-modernizer in your project. Codex loads it when a task matches its description.

Can I use Legacy Modernizer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill legacy-modernizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legacy-modernizer, .gemini/skills/legacy-modernizer, .github/skills/legacy-modernizer and .opencode/skills/legacy-modernizer in your project.

What does Legacy Modernizer need to run?

Going by SKILL.md and its folder, Legacy Modernizer needs JavaScript and Python for the scripts in its folder. Our summary lists: Python 3; Node.js.

Does Legacy Modernizer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Legacy Modernizer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Legacy Modernizer use?

Legacy Modernizer has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Legacy Modernizer use?

About 769 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Legacy Modernizer?

Skills that share tags, products or a category with Legacy Modernizer: Extract Command from Git::Lib (ruby-git/ruby-git, 1.8k stars), Legacy Modernizer (Jeffallan/claude-skills, 12k stars), Golang Modernize (aiskillstore/marketplace, 433 stars) and Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legacy Modernizer?

Dokhacgiakhoa (a GitHub user) maintains it in Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI, which has 508 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on June 11, 2026.

Source: Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.