Defined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PROJECT_DIR}/shared/hooks/log-task-call.ts",
"description": "Logs Task tool calls before agent execution. Saves context for later retrieval in SubagentStop hooks."
}
],
"matcher": "Task"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PROJECT_DIR}/shared/hooks/log-task-result.ts",
"description": "Logs Task tool results after agent completion. Captures agent output and context for analysis."
}
],
"matcher": "Task"
},
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/await-pr-checks.ts",
"description": "Waits for CI checks to complete after PR creation. Watches GitHub PR checks and reports results, blocking on failure."
}
],
"matcher": "Bash"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/setup-environment.ts",
"description": "Installs and configures CI/CD tools (Vercel, Supabase, Docker) on session start. Ensures development environment is ready for deployment and testing."
},
{
"type": "command",
"command": "npx tsx ${CLAUDE_PLUGIN_ROOT}/hooks/install-workflows.ts",
"description": "Installs GitHub Actions workflow files for CI/CD automation. Sets up automated testing, deployment, and quality checks."
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 5
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 2,
"SessionStart": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 3,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 5
}
}