Plugin Oficial

Code Modernization

Guided modernization of legacy codebases: assess, map, extract rules, plan, rebuild, and prove the new code matches the old.

Autor
Anthropic
Funciona com
Claude Code
Licença
Apache-2.0
Documentado
Oct 2, 2026

O que é Code Modernization

Point Claude at a legacy codebase and get an understanding of it, a plan you approve, modernized code and proof that behavior matches. Works with any language and any move: version upgrade, rewrite or rebuild. Start with /code-modernization:modernize.

O que ela faz

Como o Code Modernization se integra: quais agentes o executam e o que ele acrescentaEXECUTA EMSeu agenteClaude Codeum host documentadoPLUGIN · OFICIALCode ModernizationPacotes de skills, comandos, hook…5 etapas de instalação3 notas de permissãolicença: Apache-2.0O QUE ELA ACRESCENTAO que ela fazmodernize-assess inventories comp…modernize-map builds an interacti…modernize-extract-rules writes bu…modernize-uplift, transform and r…agente → extensão → nova capacidade · do repositório ou da documentação oficial
Onde Code Modernization roda e o que acrescenta, segundo a documentação
  • modernize-assess inventories complexity, debt and security
  • modernize-map builds an interactive dependency and data-flow map
  • modernize-extract-rules writes business rules as Given/When/Then cards with file:line citations
  • modernize-uplift, transform and reimagine rebuild the code
  • modernize-verify re-runs tests and compares old and new outputs, giving PROVEN / PARTLY PROVEN / NOT PROVEN
  • modernize-harden scans the legacy system and prepares a reviewed patch

Quando usar

Boa adequação

  • Moving to a newer version of the same stack (e.g. Java 8 to 17)
  • Rewriting a legacy module in a new technology with behavior proof
  • Understanding an unfamiliar legacy system before deciding

Não indicado para

  • Rehost or Replace moves, which change no code (analysis only helps)
  • Running on a whole large estate at once; the README advises a pilot first

Como instalar o Code Modernization

Você precisa de: Claude Code; An engineer who knows how the system is built and run for the first questions

  1. Run Claude Code
  2. Run /plugin install code-modernization@claude-plugins-official
  3. Open a folder for the work and run /code-modernization:modernize
  4. Or run /code-modernization:modernize-preflight --source
  5. Follow the 'next step' line each command prints

Permissões e segurança

A que ela tem acesso

  • Writes only to analysis// and modernized/ (build output where your build normally writes)
  • Does not edit legacy source
  • Links source via legacy/ without copying

Notas de segurança dos mantenedores

  • Source is checked for being untouched by file times
  • Security patch is for you to apply yourself

Revise a fonte antes de conceder ao agente acesso a credenciais ou sistemas de produção. Documentamos o que os mantenedores informam; não auditamos o código.

Limitações

  • Some steps start many agents, so real usage on large systems
  • Same command can give different counts on a second run
  • If the old system cannot run, best verdict is PARTLY PROVEN

Ferramentas que ela estende

Claude Code

Web · Desktop

Ainda sem avaliações de usuários

Ferramenta de programação agêntica da Anthropic que lê sua base de código, edita arquivos e executa comandos pelo terminal, por IDEs, pelo app desktop ou pelo navegador.

O plano gratuito termina em: Não há plano gratuito: o Claude Code está incluído nas assinaturas pagas do Claude (Pro, Max, Team, Enterpris…

Listed Ainda não avaliada

Verificado code.claude.com (abre o site de Claude Code em uma nova aba)

A partir de $20/mo EUA · verificado Sep 29

Perguntas frequentes

How does Code Modernization prove the new code behaves like the old?

modernize-verify re-runs tests from clean, runs old and new on the same inputs with a script comparison, invents new inputs and uses canary checks. fonte

Where do I start with the code-modernization plugin?

Run /code-modernization:modernize; it asks what you want, writes INTENT.md and gives the first command. fonte

Does code-modernization edit my legacy source code?

No. It writes only to analysis// and modernized/. fonte

Which modernization types does code-modernization support?

Uplift (same tech, newer version), transform (new tech module by module) and reimagine (new architecture). fonte

Guias relacionados

Fontes e lacunas

Não informado pelos mantenedores: Release date and version history are not shown in the plugin README; README tail (results section) not fully read.

Mais extensões para conhecer