Claude Code's latest update adds prompt hooks — allowing LLMs to replace shell scripts for hook decision-making.



My first idea: set up a gatekeeper for Claude.
Every time it says "Done" and wants to stop, Haiku automatically checks the conversation history —
Code changed but tests not run? Don't let it stop, keep going.
Previously, shell scripts could only do keyword matching, which Claude easily bypassed. Now, Haiku understands context — it can tell at a glance if "changed 3 files but didn't run build."
Just set it up and catch issues on the spot. The cost is almost free.
View Original
post-image
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • Comment
  • Repost
  • Share
Comment
0/400
No comments
  • Pin