setup_hooks
Install git hooks or pattern triggers to automate tasks and file operations. Configures automation hooks for pre-commit, pre-push, or custom patterns.
Instructions
[HINT: Hooks setup. action=git|patterns. Install automation hooks.]
Unified hooks setup:
action="git": Install git hooks (pre-commit, pre-push, etc.)
action="patterns": Install pattern triggers for file/task automation
📊 Output: Installation status, hooks configured 🔧 Side Effects: Installs hooks (unless dry_run=True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | git | |
| hooks | No | ||
| patterns | No | ||
| config_path | No | ||
| install | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |