Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:04:03 +08:00
commit 87c0a44f8f
7 changed files with 206 additions and 0 deletions

39
hooks/hooks.json Normal file
View File

@@ -0,0 +1,39 @@
{
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "pip install -r ${CLAUDE_PLUGIN_ROOT}/scripts/requirements.txt"
},
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/prompt-check.py"
}
]
}
],
"PostToolUse": [
{
"matcher": "Edit | Write",
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/hook-tools.py"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/scripts/hook-tools.py"
}
]
}
]
}
}