Text & chatWrite
Refactor code while preserving behaviour
Improve structure while preserving observable behaviour.
What to provide
- Code
- Goal
2 inputs to replace
How to use this prompt
State the improvement goal and identify public interfaces that must remain stable.
What to check in the result
Verify affected behaviour and avoid unrelated changes disguised as cleanup.