Cleaner code without changing how it works.
Refactors code to make it easier to read and maintain while preserving its behavior.
When to use it
Use when asked to refactor, clean up code, address technical debt or code smells, or improve code quality.
Give it code to clean up; it applies refactorings, checks that tests still pass, and makes small commits.
What you provide
An after-completion hook triggers self-improving-agent in the background to learn from refactoring patterns; whether it is required to complete the workflow is unstated.
An after-completion hook automatically triggers session-logger to log refactoring activity; whether it is required to complete the workflow is unstated.
No additional actions listed.