Automated Workflow Hooks
Automates shell command execution in response to Claude Code tool calls, prompts, and lifecycle events.
This skill provides a comprehensive framework for implementing event-driven automations within the Claude Code environment. It enables developers to define custom pre- and post-execution triggers for various tools—such as file writing, editing, and bash commands—allowing for seamless integration of linting, formatting, security validations, and external logging. By utilizing these hooks, users can enforce project-specific standards, prevent dangerous operations, and build robust, automated developer workflows that respond intelligently to every AI interaction.
Key Features
01Execution blocking capabilities via shell exit codes for validation
02Lifecycle event management for plugin installation and uninstallation
03Before and after triggers for specific tool calls like Read, Write, and Bash
04Support for both plugin-specific and global user-level configurations
05Dynamic variable substitution for file paths, content, and user prompts
060 GitHub stars
Use Cases
01Automatically run Prettier and ESLint after Claude modifies code files
02Create automatic file backups before any destructive edits are performed
03Block dangerous Git operations like force pushes to protected branches