Trying something out: told an AI to help with a refactor, but not write any code for me. Instead, it should prompt me for each place I'll need to update, and check my work. (I told it not to write code snippets for me to copy and paste either.)

I'm hoping this'll solve the thing I hate most about refactors (worrying about missing something, holding the holistic list of changes in my head), but make sure I fully internalise all the changes to the codebase.

@amyworrall I've been experimenting with using it as a pair programming navigation partner with test-driven development. Of course, it needs context first, then: “Recommend the next test.” “Explain why this code fails" (after something inscrutably breaks). "Check to see if there's anything that can be safely refactored.” etc