Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:58:00 +08:00
commit cdccb5e4dd
22 changed files with 3041 additions and 0 deletions

42
hooks/hooks.json Normal file
View File

@@ -0,0 +1,42 @@
{
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/user_prompt_sumbit.py",
"description": "Process user prompts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/task-completion-enforcer.py",
"description": "Enforce task completion"
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/subagent_stop.py",
"description": "Handle subagent stop events"
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre_compact.py",
"description": "Pre-compact processing"
}
]
}
]
}
}