logoalt Hacker News

spellbootsyesterday at 8:31 PM1 replyview on HN

Yes, you can do this with hooks: https://code.claude.com/docs/en/hooks


Replies

kristianpyesterday at 9:30 PM

Back when I was using CC, I had a "mandatory" development workflow that checks if the corresponding test file exists for the changed file, runs tests and runs the test coverage tool for the changed file.