News for hackers. Stuff that matters.
Re:Cursor Acquires Graphite by tyre on Friday December 19, 2025 @02:09PM (#46329659)
allow me to introduce you to the lord and savior, https://pre-commit.com/
Re:Cursor Acquires Graphite by adamcharnock on Friday December 19, 2025 @05:04PM (#46331507)
Re:Cursor Acquires Graphite by robertfw on Friday December 19, 2025 @07:04PM (#46332431)
and if your pre-commit runs fast (thank you, ruff), you can set this up as a post-edit hook in claude code
Re:Cursor Acquires Graphite by jswny on Friday December 19, 2025 @11:26PM (#46333613)
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