Initial commit
This commit is contained in:
16
hooks/hooks.json
Normal file
16
hooks/hooks.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"event": "PostToolUse",
|
||||
"matcher": "destination|city|country|travel to",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/fetch-weather.sh",
|
||||
"description": "Auto-fetch weather when destination is mentioned"
|
||||
},
|
||||
{
|
||||
"event": "PostToolUse",
|
||||
"matcher": "\\$[0-9]+|USD|EUR|GBP|price",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/convert-currency.sh",
|
||||
"description": "Auto-convert currency when prices are mentioned"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user