Anthropic

code-modernization

by Anthropic · ★ 37,363 · updated 3 days ago

PanesBandsStatus lineReskinsGuardsCommandsPromptvalidates

0

Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan you approve, then an upgrade, a rewrite or a rebuild with independent proof that the new code behaves like the old. Includes security hardening, a one-page report, specialist agents, and an optional live progress pane (early access).

install code-modernization

Install

/plugin marketplace add anthropics/claude-plugins-official
/plugin install code-modernization@claude-plugins-official

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startui.renderui.closecommand.runprompt.submitturn.startturn.completetool.call
API calls
$.clock.after$.clock.every$.clock.now$.command.register$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.prompt.fill$.prompt.submit$.store.get$.store.set$.turn.abort$.ui.blit$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
PromptHintAbovePromptPane
Can see
every promptevery tool call
Reach
level 2 of 3 writes filesdrives Claudewrites the prompt boxreads filespersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/anthropics/claude-plugins-official
Path in repo
plugins/code-modernization
Author
Anthropic @anthropics
License
Apache-2.0
First published
Last pushed
First listed here
On X
Mentioned in 3 posts on X

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

Posts about this repo

Fred-New@Fred834567

分享Claude Code必装的3个神器! 最近刷 GitHub Trending 发现一个变化:前五名里有三个是 Agent Skills! ✅️archify 一句话画出会动的架构图 这是我最惊喜的一个。以前画架构图要开 http://draw.io 拖半天,还得自己想布局。 现在直接在 Claude Code 里说一句:Use archify to map this repository's runtime architecture. 它会分析代码库,吐出一个自包含的 HTML:架构图、时序图、数据流、状态生命周期都能画,深浅主题一键切,还带动效。 最狠的是能对比两个版本的架构(Before / Delta / After),做 PR review 直接甩链接给同事。 安装:npx skills add tt-a1i/archify -g GitHub:https://github.com/tt-a1i/archify ✅claude-plugins-official Anthropic 官方插件市场 Anthropic 自己维护的插件目录,目前 289 个插件,其中 38 个是 Anthropic 内部团队写的。 我以前是一个个手动配 MCP,改 json 改到怀疑人生。现在就一行:/plugin install code-review@claude-plugins-official 。 我自己常开的几个:code-review(多 agent 审 PR)、frontend-design(让 AI 写的前端不像 AI 写的)、claude-md-management(自动维护 CLAUDE.md)、playwright / github / notion / slack 官方 MCP 一键接入 🔌 GitHub:https://github.com/anthropics/claude-plugins-official ✅awesome-gpt-image-2 538 个 AI 画图提示词模板 国人「苍何」做的。 把 GPT-Image-2 的 538 个案例逆向成 Prompt as Code,分 UI 界面、信息图、海报、电商、人物、国风等 12 类模板。 关键是它提炼成了 Skill,装完直接让 Claude 帮你选风格、写提示词。网站 http://gpt-image2.canghe.ai 可以直接看图复制 prompt,我现在做封面图都先去翻一圈。 GitHub:https://github.com/freestylefly/awesome-gpt-image-2 网站:http://gpt-image2.canghe.ai 这 3 个别一起装完就吃灰,最实用的顺序其实是: 先装 archify,拿你手头一个真实仓库跑一遍,把架构、调用链、数据流先看懂。 然后开 code-review,让它专门挑 bug、坏味道和 PR 风险,别让写代码的 Agent 自己夸自己。 最后再上 awesome-gpt-image-2,把你项目介绍、产品卖点直接做成封面图、信息图和宣传素材。 我更建议你给 Claude Code 固定一条任务:👇👇👇 “先读仓库 → 画架构 → 找问题 → 修代码 → 最后生成一张产品介绍图。” 这样这 3 个 Skill 就不是插件收藏,而是一条完整工作流

Skills Studio@sumika45379

【公式】 設定が決まらないまま使っている人、性能を半分捨ててます。 Anthropic公式が、この案件に何を入れるべきかを診断してくれるプラグインを出してました😳 https://x.com/0xJokker/status/2093139177428709737/video/1 ・入れる価値のあるskill(仕事の型を持たせるもの) ・仕掛けておくhook(保存のたびに整える、危ないファイルを止める) ・つなぐMCPサーバー(外部サービスとの接続口) ・置くsubagent(安全性・速度・見やすさの担当) この4分野にスラッシュコマンドを足した5つで、それぞれ1〜2個だけ挙げてきます。 ❌ どのhookを入れるべきか、自分で記事を探して回る ⭕ 案件のコードを読ませて、出てきた候補から選ぶ しかも読み取り専用で、ファイルは書き換えません。元ポストは勝手に設定されると書いていますが、公式の説明は提案までです。 入れるのは1行、あとは「この案件に合う自動化を教えて」と話しかけるだけ。 /plugin install claude-code-setup@claude-plugins-official 公式の置き場はこちら▼ https://github.com/anthropics/claude-plugins-official/tree/main/plugins/claude-code-setup 候補が出たら、次に効いてくるのは分野ごとに何を持たせるかの中身のほうです。 7部門ぶんの担当と中身をまるごと並べた記事がこの下にあるのでおすすめ👇

Morgan Lunt@morganlunt

Code modernization is now largely solved. What took millions of dollars and dozens of people a couple of years ago, agents can now just do. I did a talk on this last week: https://youtu.be/8uSkd3Hi2mE And open sourced a Claude Code plugin to get you started: https://github.com/anthropics/claude-plugins-official/tree/main/plugins/code-modernization