Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/check-pr-readiness.ts",
"description": "Validates branch status for conflicts and sync issues before session end"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/sync-plan-to-issue.ts",
"description": "Automatically creates/updates GitHub issues from plan files"
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/enhance-commit-message.ts",
"description": "Enhances commits with task context and triggers CI review"
}
],
"matcher": "Bash"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/add-branch-context.ts",
"description": "Displays branch issue context, sync status, and outstanding issues"
},
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/install-review-workflows.ts",
"description": "Installs GitHub Actions review workflows"
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/commit-task.ts",
"description": "Auto-commits agent work with task context and git trailers"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/guide-requirements-check.ts",
"description": "Adds systematic requirement analysis guidance to user prompts"
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 7
},
"eventStats": {
"Stop": 1,
"PostToolUse": 2,
"SessionStart": 2,
"SubagentStop": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 7,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 7
}
}