hooks
CommunityAutomate workflows with event-driven scripts.
Software Engineering#automation#workflow#validation#hooks#transformation#event-driven#scripts#lifecycle
Authorreggiechan74
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Repetitive tasks like code formatting, validation, or logging often require manual intervention or external scripting. This Skill enables automated execution of scripts at specific lifecycle events, streamlining your development workflow and reducing manual effort.
Core Features & Use Cases
- Event-Driven Automation: Trigger scripts
PreToolUse,PostToolUse,UserPromptSubmit,SessionStart, and more, for comprehensive workflow control. - Granular Control: Use matchers (including regex) to target specific tools or events, ensuring precise automation.
- Decision Control: Allow, deny, or modify tool execution based on hook script output, providing powerful conditional logic.
- Use Case: Configure a
PostToolUsehook to automatically runprettieron any.tsfile after Claude edits it, ensuring consistent code formatting across your project without any manual steps.
Quick Start
Show me how to create a hook that runs a script before any Bash command is executed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hooks Download link: https://github.com/reggiechan74/claude-plugins/archive/main.zip#hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.