Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
robertfw
3mo ago
0 comments
Share
and if your pre-commit runs fast (thank you, ruff), you can set this up as a post-edit hook in claude code
undefined | Better HN
0 comments
default
newest
oldest
jswny
3mo ago
I would not recommend this. A hook that modifies files causes Claude to have to re-read the file before modifying it again, which can build up your context window fast
j
/
k
navigate · click thread line to collapse