Automatically executes custom commands at key development lifecycle events.
npx claudepluginhub kzmshx/claude-pluginsDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Review this session. If any of the following occurred, suggest running /pdd:notes: unexpected issues discovered, technical decisions made, approach deviated from plan, significant debugging performed, or work is incomplete with important context to preserve."
}
],
"matcher": ""
}
],
"PreCompact": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Context is about to be compacted. If significant discoveries, decisions, or progress were made in this session, suggest running /pdd:notes to preserve them before context is lost."
}
],
"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 PLAN exists, briefly summarize its goal and current tasks. If no PLAN exists, briefly note that /pdd:plan is available for planning."
}
],
"matcher": ""
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 3
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}