claude

code-modernization

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).

47,076 on GitHubby Anthropicv1.0.0Apache-2.0updated todaydevelopment
/

Plugin code-modernization from marketplace claude-plugins-official in anthropics/claude-plugins-official. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Slash commands (13)

  • /code-modernization:modernize-assess

    What am I dealing with? Inventory, complexity, debt, security and a recommended modernization pattern

  • /code-modernization:modernize-brief

    Write the phased Modernization Brief — the plan a steering committee approves and the build commands execute against

  • /code-modernization:modernize-extract-rules

    Mine the business rules out of the code into testable Given/When/Then rule cards with file:line citations

  • /code-modernization:modernize-harden

    Security scan of the legacy system with a reviewable remediation patch (OWASP, CWE, CVEs, secrets, injection)

  • /code-modernization:modernize-map

    Show me the structure — dependencies, data flow, entry points and business flows, as an interactive map

  • /code-modernization:modernize-preflight

    Run this first — checks the environment, records where the code lives, and says what to fix before anything else runs

  • /code-modernization:modernize-reimagine

    Rebuild the system from its extracted intent on a new architecture, with two human checkpoints

  • /code-modernization:modernize-review

    Confirm or correct the business rules that need a person's judgement; the plan and the build read your answers

  • /code-modernization:modernize-status

    Where am I? Progress, what is stale, and the exact next command to run — start here when unsure

  • /code-modernization:modernize-transform

    Rewrite one legacy module in the target stack, with tests that prove it behaves the same

  • /code-modernization:modernize-uplift

    Same-stack version uplift (e.g. .NET Framework 4.8 to .NET 8, Java 8 to 17) — keep the code, fix the version deltas, prove nothing changed

  • /code-modernization:modernize-verify

    Prove the modernized code behaves like the legacy, with an independent re-check and one verdict per module

  • /code-modernization:modernize

    Start here — say what you want done with your code and get the plan and the first step

Subagents (8)

  • architecture-critic

    Reviews proposed target architectures and transformed code against modern best practice. Adversarial — looks for over-engineering, missed requirements, and simpler alternatives.

  • business-rules-extractor

    Mines domain logic, calculations, validations, and policies from legacy code into testable Given/When/Then specifications. Use when you need to separate "what the business requires" from "how the old code happened to implement it.

  • legacy-analyst

    Deep-reads legacy codebases (COBOL, Java, .NET, Node, anything) to build structural and behavioral understanding. Use for discovery, dependency mapping, dead-code detection, and "what does this system actually do" questions.

  • scaffolder

    Scaffolds one service of a reimagined system from the approved architecture and spec — project skeleton, domain model, API stubs, executable acceptance tests. Write access is scoped to its own service directory under modernized/.

  • security-auditor

    Adversarial security reviewer — OWASP Top 10, CWE, dependency CVEs, secrets, injection. Use for security debt scanning and pre-modernization hardening.

  • test-engineer

    Writes characterization, contract, and equivalence tests that pin down legacy behavior so transformation can be proven correct. Use before any rewrite.

  • uplift-migrator

    Migrates ONE project/module of an in-flight same-stack version uplift by applying a proven pilot playbook — minimal diff, then runs that unit's real build to prove it. Refuses to migrate anything if no playbook exists yet. Write access is scoped to its own unit's directory inside the uplift working

  • version-delta-analyst

    Identifies the breaking changes between two versions of the SAME stack (e.g. .NET Framework 4.8 → .NET 8, Java 8 → 17/21, Spring Boot 2 → 3) that actually bite a given codebase, and drives the ecosystem's migration tooling. Use for same-stack uplifts, where code is preserved and tweaked — not rewrit

Hooks (6)

  • UserPromptSubmit

    sh "${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh" command

  • Stop

    sh "${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh" state

  • Stop

    sh "${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh" run

  • SessionStart

    sh "${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh" health

  • PostToolUseFailure

    sh "${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh" failure

  • StopFailure

    sh "${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh" failure

View source on GitHub code.claude.com

More from anthropics/claude-plugins-official

All 318 plugins →

azure

claude

Transform Claude into an Azure expert. This plugin integrates the Azure MCP server and specialized Azure skills to move beyond generic advice. It enables Claude to perform real-world tasks: listing resources, validating deployments, diagnosing infrastructure issues, and optimizing costs across 50+ Azure services.

44 skills · 1 MCP server

47,076

Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database clusters. This plugin provides 14 tools across two active MCP backends (self-hosted MCP Toolbox and managed CockroachDB Cloud MCP Server), three specialized agents (DBA, Developer, Operator), 32 skills across 6 operational domains, and built-in safety hooks.

34 skills · 3 agents · 3 MCP servers · hooks

47,076

Databricks skills for the CLI, Apps, Lakebase, Model Serving, Lakeflow Jobs, Spark Declarative Pipelines, Declarative Automation Bundles (DABs), and classic-to-serverless migration.

37 skills · 2 commands · hooks

47,076

clay

claudecodex

Work with Clay from Claude Code: set up and sign in to the clay CLI, query and analyze Clay tables, search Clay's GTM database for people and companies, manage audiences, signals, routines and workflows, and draft and review Sequencer campaigns. Includes hooks that auto-approve the plugin's own clay CLI calls and Clay skills; requires a Clay account.

38 skills · hooks

47,076

amplitude

claudecodex

Use Amplitude as an expert analyst — instrument Amplitude, discover product opportunities, analyze charts, create dashboards, manage experiments, and understand users and accounts.

36 skills · 1 MCP server

47,076

data-agent-kit

claudecodex

This plugin provides a specialized suite of skills for data engineers and database practitioners working on Google Cloud. It acts as an expert assistant, allowing you to use natural language prompts in your preferred coding agent to architect complex data pipelines, transform data with dbt, write Spark and BigQuery SQL notebooks, and orchestrate end-to-end workflows across GCP's data ecosystem.

37 skills

47,076

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

slidev

claude

Claude Code skill for creating and presenting Slidev slidedecks

1 skill

slidevjs/slidev 49,452

Maintain code-modernization?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins318 plugins