2026-04-17 14:29:59 +07:00
|
|
|
{
|
|
|
|
|
"hooks": {
|
|
|
|
|
"SessionStart": [
|
|
|
|
|
{
|
|
|
|
|
"matcher": "startup",
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/session-start.sh",
|
|
|
|
|
"timeout": 600
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2026-07-03 13:58:36 +07:00
|
|
|
],
|
|
|
|
|
"PostToolUse": [
|
|
|
|
|
{
|
|
|
|
|
"matcher": "Edit|Write|MultiEdit|NotebookEdit",
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/format.sh",
|
|
|
|
|
"timeout": 10
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/yarn-install.sh",
|
|
|
|
|
"timeout": 120
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/react-pattern-review.sh",
|
|
|
|
|
"timeout": 15
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"Stop": [
|
|
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/sync-git-branches.sh",
|
|
|
|
|
"timeout": 120
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/react-pattern-review.sh",
|
|
|
|
|
"timeout": 15
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/code-quality-review-reminder.sh",
|
|
|
|
|
"timeout": 15
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/verify.sh",
|
|
|
|
|
"timeout": 600
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2026-04-17 14:29:59 +07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|