Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "If code files (.py, .ts, .js, .go, .rs, .java, .cpp, .c, .rb, .php) were modified in this session AND a .doc-manager/ directory exists in the project working directory, add this brief note at the end of your response: '📋 Code files were modified. Documentation may need updating - use /doc-status to check sync status.' Do NOT add this note if no code files were modified or if .doc-manager/ does not exist."
}
],
"matcher": "*"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python ${CLAUDE_PLUGIN_ROOT}/scripts/check-doc-health.py"
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 1,
"command": 1
},
"eventStats": {
"Stop": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 1
}
}