adhoc-flow
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Workflow for converting, modernizing, upgrading, or re-architecting code (e.g. C++→Java, monolith→microservices), etc.
> /plugin marketplace add griddynamics/rosetta > /plugin install rosetta@rosetta
How it fires
How this command gets triggered: by you, by Claude, or both.
/modernization-flowContext preview
What this command does when you run it.
Workflow for converting, modernizing, upgrading, or re-architecting code (e.g. C++→Java, monolith→microservices), etc.
name: modernization-flow description: "Workflow for converting, modernizing, upgrading, or re-architecting code (e.g. C++→Java, monolith→microservices), etc." tags: ["workflow"] baseSchema: docs/schemas/workflow.md
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**.
**Phase 0: Prerequisites** 1. All Rosetta prep steps MUST be FULLY completed 2. USE SKILL `load-project-context`, `orchestration`, `hitl` 3. MUST ALWAYS use todo tasks ledger, ASAP. Phases are sequential. Independent tasks can run in parallel.
**Phase 1: Existing Library Analysis for Reusing in Target State** [modernization-flow-reuse.md] 1. APPLY PHASE modernization-flow-reuse.md 2. Execute phase instructions 3. Update `agents/modernization-flow-state.md` with brief state 4. Validate by listing files in respective folders
**Phase 2: Old Code Analysis, Generating Original Specs** [modernization-flow-analysis.md] 1. APPLY PHASE modernization-flow-analysis.md 2. Execute phase instructions 3. Update `agents/modernization-flow-state.md` with brief state 4. Validate by listing files in respective folders
**Phase 3: Pre-Modernization Test Coverage (OPTIONAL)** [modernization-flow-testing.md] **NOTE: Execute this phase if user explicitly approves it** 1. APPLY PHASE modernization-flow-testing.md 2. Execute phase instructions 3. Update `agents/modernization-flow-state.md` with brief state 4. Validate by listing files in respective folders
**Phase 4: Class Group Analysis** [modernization-flow-grouping.md] 1. APPLY PHASE modernization-flow-grouping.md 2. Execute phase instructions 3. Update `agents/modernization-flow-state.md` with brief state 4. Validate by listing files in respective folders
**Phase 5: Cross-Project Analysis** [modernization-flow-crossproject.md] 1. APPLY PHASE modernization-flow-crossproject.md 2. Execute phase instructions 3. Update `agents/modernization-flow-state.md` with brief state 4. Validate by listing files in respective folders
**Phase 6: Implementation Mapping, Generating Target Specs** [modernization-flow-mapping.md] 1. APPLY PHASE modernization-flow-mapping.md 2. Execute phase instructions 3. Update `agents/modernization-flow-state.md` with brief state 4. Validate by listing files in respective folders
**Phase 7: Final Review** [modernization-flow-review.md] 1. APPLY PHASE modernization-flow-review.md 2. Execute phase instructions 3. Update `agents/modernization-flow-state.md` with brief state 4. Validate by listing files in respective folders
**Phase 8: Implementation** [modernization-flow-implement.md] 1. APPLY PHASE modernization-flow-implement.md 2. Get explicit human approval 3. Follow approved target specs 4. Implement one project at-a-time 5. Maintain backward compatibility 6. Write comprehensive tests 7. Achieve 80% code coverage
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 Ana
Repo: griddynamics/rosetta
Workflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc.
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 3 Gap & Requirements Clarification of api-aqa-flow (USER INTERACTION REQUIRED)
Phase 0 Project Config Loading of api-aqa-flow (USER INTERACTION CONDITIONALLY REQUIRED)