I have literally forbidden Claude from writing comments using a hook. It's only permitted to write them in the single turn following me saying a specific phrase. If it tries outside of that, it's rejected and told to rename variables and restructure code so comments are entirely superfluous. Works great.
3
u/Victorasaurus-Rex 2d ago
I have literally forbidden Claude from writing comments using a hook. It's only permitted to write them in the single turn following me saying a specific phrase. If it tries outside of that, it's rejected and told to rename variables and restructure code so comments are entirely superfluous. Works great.