hooks in AI
From the Claude Code Slash Commands cheat sheet · Tools & Integration · verified Jul 2026
/hooks
Configure event-triggered automation
bash
/hooks💡 Trigger shell commands on tool events
⚡ Automate linting, testing, commits
🔍 Configure in settings.json under the hooks key
🎯 Great for workflow automation
hooksautomationevents