Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Review this session. If significant discoveries, unexpected issues, or important technical decisions were made during implementation, suggest running /pdd:notes to capture them before ending."
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Check if this is a feature branch (not main/master). If so, check if PLAN.md exists at .claude/pdd/{branch}/PLAN.md (or $PDD_WORKSPACE_DIR/{branch}/PLAN.md if set). If no PLAN exists, briefly note that /pdd:plan is available for planning."
}
],
"matcher": ""
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 2
},
"eventStats": {
"Stop": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}