Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:57:52 +08:00
commit 3e8d3d0f84
4 changed files with 106 additions and 0 deletions

46
hooks/hooks.json Normal file
View File

@@ -0,0 +1,46 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PLUGIN_ROOT/scripts/session_start.sh"
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PLUGIN_ROOT/scripts/session_end.sh"
}
]
}
],
"PreToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PLUGIN_ROOT/scripts/pre_tool_use.sh"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "$CLAUDE_PLUGIN_ROOT/scripts/user_prompt_submit.sh",
"timeout": 10
}
]
}
]
}
}