Refactor without changing behavior
A step-by-step refactor as a diff, with a one-line reason per change and the tests that prove nothing broke.
A step-by-step refactor as a diff, with a one-line reason per change and the tests that prove nothing broke.
Assemble prompt