code-modernization
By AnthropicModernize legacy codebases (COBOL, legacy Java/C++/.NET, monolith web apps) with a structured preflight / assess / map / extract-rules / brief / (reimagine | transform | uplift) / harden / status workflow. Cross-stack rewrites, greenfield reimagining, and same-stack version uplifts (e.g. .NET…
Claude Code
claude plugin install code-modernization
Agents (8)
-
Agent architecture-critic
Reviews proposed target architectures and transformed code against modern best practice. Adversarial — looks for over-engineering, missed requirements, and simpler alternatives.
-
Agent business-rules-extractor
Mines domain logic, calculations, validations, and policies from legacy code into testable Given/When/Then specifications.
-
Agent 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…
-
Agent scaffolder
Scaffolds one service of a reimagined system from the approved architecture and spec — project skeleton, domain model, API stubs, executable acceptance tests.
-
Agent security-auditor
Adversarial security reviewer — OWASP Top 10, CWE, dependency CVEs, secrets, injection. Use for security debt scanning and pre-modernization hardening.
-
Agent test-engineer
Writes characterization, contract, and equivalence tests that pin down legacy behavior so transformation can be proven correct. Use before any rewrite.
-
Agent 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.
-
Agent 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…
Commands (10)
-
Command modernize-assess
Full discovery & portfolio analysis of a legacy system — inventory, complexity, debt, relative scale
-
Command modernize-brief
Generate a phased Modernization Brief — the approved plan that transformation agents will execute against
-
Command modernize-extract-rules
Mine business logic from legacy code into testable, human-readable rule specifications
-
Command modernize-harden
Security vulnerability scan with a reviewable remediation patch — OWASP, CWE, CVE, secrets, injection
-
Command modernize-map
Dependency & topology mapping — call graphs, data lineage, batch flows, rendered as navigable diagrams
-
Command modernize-preflight
Environment readiness check — analysis tools, build toolchain, source completeness, telemetry access
-
Command modernize-reimagine
Multi-agent greenfield rebuild — extract specs from legacy, design AI-native, scaffold & validate with HITL
-
Command modernize-status
Where am I in the modernization workflow — artifact inventory, staleness, secrets hygiene, next step
-
Command modernize-transform
Transform one legacy module to the target stack — idiomatic rewrite with behavior-equivalence tests
-
Command modernize-uplift
Same-stack version uplift (e.g. .NET Framework 4.8 → .NET 8) — preserve the code, fix the version deltas, prove equivalence by running one test suite on both runtimes
From Anthropic's public plugin directory, read on 2026-10-15. Find a skill by task.