About
The TDD Refactor Phase skill provides a structured framework for the final stage of the Red-Green-Refactor cycle, enabling developers to systematically improve code maintainability and readability. It helps users identify refactoring opportunities such as code duplication, unclear naming, and complex logic, while enforcing a strict 'Green-to-Green' workflow. By requiring full test suite verification after every change and providing clear rollback protocols, this skill ensures that code improvements never compromise existing functionality or stability.