Application modernization starts with understanding current code. Generate docs, architecture notes, UML diagrams, and onboarding references before changes.