Kiro Global Hook
Automatically detects and initializes Kiro hooks when you open a workspace.
How it works
- On workspace open, checks if
.kiro/hooks/ contains your hook templates
- If hooks are missing, prompts you to initialize them from your template directory
- If no template directory is configured, shows a non-intrusive status bar hint
Setup
- Create a directory with your
.kiro.hook template files (e.g. ~/kiro-templates/)
- Open VS Code/Kiro Settings and set
kiroHooksInit.templateDir to that directory path
- Open any workspace — missing hooks will be detected and you'll be prompted to initialize
Settings
| Setting |
Description |
kiroHooksInit.templateDir |
Absolute path to directory containing .kiro.hook template files |
| |