1. Read and understand the coding guidelines from `.github/instructions/*.md` and `.github/copilot-instructions.md`.
2. Analyze the existing codebase to identify areas for improvement and potential refactoring opportunities.
3. Refactor the code to align with the coding guidelines and improve maintainability.
4. Run existing tests to ensure that the changes haven't introduced any regressions.
5. Address any failing tests by adjusting the refactored code.
6. Review the changes to ensure they meet the required coding standards and maintainability goals.
7. Commit the refactored code.