6 ms·
You can create a PostToolUse hook [0] which will automatically chastise Claude to shrink comments to one line. It's not perfect but better than the sea of prose
by sync 2mo ago
You can create a PostToolUse hook [0] which will automatically chastise Claude to shrink comments to one line. It's not perfect but better than the sea of prose it tends to generate by default. Bonus is that it would apply to your colleagues as well!
[0] https://github.com/chrisvariety/branch-fiction/blob/deb37f2ba780a29082a294e48b06f92c239e6b4c/.claude/settings.json#L6-L16 https://github.com/chrisvariety/branch-fiction/blob/deb37f2b...
- exographicskip 2mo agoGood thinking! The multiline paragraph comments drive me up the wall. No amount of agents.md / commit to memory updates has stopped agents from littering the code base with useless comments. Think I'll add it to pre-commit hooks getting called by posttooluse