Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tyre
6 days ago
|
parent
|
context
|
favorite
| on:
Graphite is joining Cursor
allow me to introduce you to the lord and savior,
https://pre-commit.com/
adamcharnock
6 days ago
|
next
[–]
Agreed. Also Lefthook:
https://github.com/evilmartians/lefthook
reply
robertfw
6 days ago
|
prev
[–]
and if your pre-commit runs fast (thank you, ruff), you can set this up as a post-edit hook in claude code
reply
jswny
6 days ago
|
parent
[–]
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
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: