Initial commit

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

40
hooks/hooks.json Normal file
View File

@@ -0,0 +1,40 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/init-session.sh"
}
]
}
],
"PreToolUse": [
{
"matcher": "Read|Write|Edit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/recommend-skills.sh"
}
]
}
],
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-vitest-config.sh"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-vitest-tests.sh"
}
]
}
]
}
}