In my description of my current working practices, I forgot the most important point:
Tip
Tell Claude to refactor. Early. Often.
I’ll write up some more details of how I do this, but in short I think of as if I were TDDing: get the feature working, then refactor to clean it up. Claude is great at refactoring.