Code modernization
Plugin by anthropics
Guides modernization of legacy codebases, starting with /modernize. It covers an assessment, a plan you approve, then an upgrade, rewrite or rebuild checked against the old behavior.
/plugin marketplace add anthropics/claude-plugins-official
/plugin install code-modernization@claude-plugins-officialType both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Code modernization is a Claude Code plugin published by anthropics for legacy codebases. You start with /modernize and get an assessment and an interactive map of the code. The plugin also mines the business rules from the code and drafts a plan that you approve.
After approval, the plugin can carry out an upgrade, a rewrite or a rebuild. The publisher says independent proof checks that the new code behaves like the old. The plugin also includes security hardening, a one-page report, specialist agents, and an optional live progress pane that is in early access. It is meant for any legacy codebase.
Written from the project's README and checked against it.
What it can do
- /modernizeStarts a guided modernization of a legacy codebase.
- Assessment and mapProduces an assessment and an interactive map of the code.
- Business rule miningExtracts the business rules found in the code.
- Approved planDrafts a modernization plan that you approve before the work continues.
- Upgrade, rewrite or rebuildCarries out an upgrade, a rewrite or a rebuild of the codebase.
- Behavior proofUses independent proof that the new code behaves like the old.
- Security hardeningIncludes security hardening as part of the modernization.
- One-page reportProduces a one-page report of the work.
- Specialist agentsIncludes specialist agents for the modernization work.
- Live progress paneOptional live progress pane, currently in early access.
Try asking
- Run /modernize on this legacy codebase and give me an assessment
- Map the business rules hidden in this old module
- Draft an upgrade plan and wait for my approval before changes
Good to know
- The live progress pane is optional and in early access.
- Feature details come from the publisher's declared description, not from a plugin README in the source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Code modernization
All alternatives →Matt Pocock's agent skills for real engineering work, including grilling sessions, specs and tickets, TDD, bug diagnosis and code review. Made for developers who want control over their agent's process rather than a fixed framework.
Modern Web Guidance is a set of skills that gives coding agents current web platform best practices and browser compatibility data. It steers agents away from legacy patterns and toward modern browser APIs.
Superpowers is a software development methodology for coding agents, built from composable skills. It covers brainstorming, planning, subagent-driven development, test-driven development and code review. It is aimed at developers who use Claude Code.
Keeps coding agents current with modern web platform APIs, best practices, and browser compatibility data. Steers agents away from legacy patterns and heavy polyfills toward native web features. Built for developers who use AI coding agents.
Code simplifier is a Claude Code agent that refines recently modified code for clarity, consistency, and maintainability. It suits developers who want cleaner code that keeps its existing functionality.
Context7 gives AI assistants up-to-date, version-specific documentation and code examples from source repositories. It runs through Context7's hosted MCP server, so no local Node.js or npx is needed.
Compare with Mattpocock skills, Modern web guidance or Superpowers
Code modernization: common questions
Does the plugin change code without approval?
The declared description says you approve a plan before the upgrade, rewrite or rebuild starts.
How does the plugin check that the new code still works?
It uses independent proof that the new code behaves like the old code, according to the publisher's description.
Is the live progress pane included by default?
It is optional and listed as early access in the declared description.
How do I install Code modernization?
Inside Claude Code, add the marketplace with /plugin marketplace add anthropics/claude-plugins-official, then install the plugin with the second command shown above.
Is Code modernization free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Code modernization safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Code modernization?
Similar plugins: Mattpocock skills, Modern web guidance, Superpowers, Modern web guidance.
