←back to thread

Claude Code now supports hooks

(docs.anthropic.com)
381 points ramoz | 4 comments | | HN request time: 0.029s | source
1. prmph ◴[] No.44433008[source]
I frequently have to remind Claude Code of the instructions in the CLAUDE.md file, as well as various general aspects of the code base.

Maybe this will enable a fix

replies(1): >>44437113 #
2. SV_BubbleTime ◴[] No.44437113[source]
> Stop using early returns in void functions! It’s in the clause.md you shouldn’t do that in this project!

Reading CLAUDE.md (22 seconds, 2.6k tokens..)

You’re absolutely right!

replies(1): >>44447687 #
3. unshavedyak ◴[] No.44447687[source]
Honestly patterns like these that can have a tool fix the LLM quirks seems powerful.
replies(1): >>44466812 #
4. SV_BubbleTime ◴[] No.44466812{3}[source]
No doubt, it’s just that I shouldn’t have to. Remind the tool of its own configuration file.