Cleaner code that still does the same thing.
Restructures existing code to make it easier to read and maintain while preserving its behavior.
When to use it
Use when existing code is hard to maintain, functions or classes are oversized, code smells impede changes, or the user requests cleanup.
Give it existing code to refactor; it makes small structural changes, testing and committing each passing step.
What you provide
No setup requirements listed.
No additional actions listed.