/rosetta:modernization-flowfrom rosetta
Orchestrates multi-phase code modernization projects — converting, upgrading, or re-architecting codebases (e.g. C++→Java, monolith→microservices). Executes phases sequentially with state tracking and user confirmation.
Ships in rosetta. Installing the plugin adds it to Claude Code.
This modernization process is designed to systematically analyze, specify, and implement code modernization/migration projects. The process is divided into phases that MUST be executed one-by-one.
agents/modernization-flow-state.md with completion status, keep this document concise.Phase 2 and Phase 6, skip the other phases and their prerequisites, record this in the state file, unless you discover dependencies and project becomes bigger.Phase 0: Prerequisites
load-project-context, orchestration, hitlPhase 1: Existing Library Analysis for Reusing in Target State [modernization-flow-reuse.md]
agents/modernization-flow-state.md with brief statePhase 2: Old Code Analysis, Generating Original Specs [modernization-flow-analysis.md]
agents/modernization-flow-state.md with brief statePhase 3: Pre-Modernization Test Coverage (OPTIONAL) [modernization-flow-testing.md] NOTE: Execute this phase if user explicitly approves it
agents/modernization-flow-state.md with brief statePhase 4: Class Group Analysis [modernization-flow-grouping.md]
agents/modernization-flow-state.md with brief statePhase 5: Cross-Project Analysis [modernization-flow-crossproject.md]
agents/modernization-flow-state.md with brief statePhase 6: Implementation Mapping, Generating Target Specs [modernization-flow-mapping.md]
agents/modernization-flow-state.md with brief statePhase 7: Final Review [modernization-flow-review.md]
agents/modernization-flow-state.md with brief statePhase 8: Implementation [modernization-flow-implement.md]
Create/update agents/modernization-flow-state.md briefly after each phase using sample:
# Modernization State
**Last Updated**: [Date and Time]
**Current Status**: [Phase Number or COMPLETE]
**Project**: [Project/Feature Name]
## Phase Completion Status
- [x] Phase 1: Existing Library Analysis - Completed [Date]
- [ ] Phase 2: Old Code Analysis - Not Started
- [ ] Phase 3: Test Coverage (OPTIONAL) - Not Started / Skipped
- [ ] Phase 4: Class Group Analysis - Not Started
- [ ] Phase 5: Cross-Project Analysis - Not Started
- [ ] Phase 6: Implementation Mapping - Not Started
- [ ] Phase 7: Final Review - Not Started
- [ ] Implementation Phase - Not Started
## Phase Details
### Phase 1
- Completed: [Date/Time]
- Files Created: [List files]
- Projects Analyzed: [List projects]
- Notes: [Any relevant notes]
[Add similar sections for each completed phase]
What the command file sets; muted values are Claude Code's defaults
code-migration, re-architecture, upgrade-workflow, multi-phase
7-day visitors to each command page
npx claudepluginhub griddynamics/rosetta --plugin rosetta70 commands in this plugin
/api-aqa-flow-data-collectionPhase 1 Data Collection of api-aqa-flow2 plugins in one repository ship this exact command · first indexed Nov 10, 2026
Other plugins' commands for the same job