Receive Swift Testing code or a request for test generation/migration.
Determine the target Swift version and project structure.
Load relevant reference files based on the task.
Analyze the code for correctness and best practices.
Identify potential issues and areas for improvement.
Generate a prioritized list of recommendations or directly modify the code.
Present the review report or the improved code to the user.