Intelligently refactor and improve code quality
# Intelligently Refactor and Improve Code Quality Intelligently refactor and improve code quality ## Instructions Follow this systematic approach to refactor code: **$ARGUMENTS** 1. **Pre-Refactoring Analysis** - Identify the code that needs refactoring and the reasons why - Understand the current functionality and behavior completely - Review existing tests and documentation - Identify all dependencies and usage points 2. **Test Coverage Verification** - Ensure comprehensive test coverage exists for the code being refactored - If tests are missing, write them BEFORE ...