Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:08:52 +08:00
commit 2f1a33b679
4 changed files with 99 additions and 0 deletions

39
hooks/hooks.json Normal file
View File

@@ -0,0 +1,39 @@
{
"description": "Automatically trigger plan and implementation reviews at appropriate times",
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/user_prompt_submit.sh",
"timeout": 10
}
]
}
],
"PreToolUse": [
{
"matcher": "ExitPlanMode",
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/pre_exit_plan_mode.sh",
"timeout": 10
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}\"/hooks/on_stop.sh",
"timeout": 30
}
]
}
]
}
}