Automates file modifications and command execution when starting sessions or using editing tools.
npx claudepluginhub devnogari/devnogari-claude-pluginsDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/plugins/feature-workflow/scripts/phase-check.sh\"; [ -x \"$SCRIPT\" ] && \"$SCRIPT\" || exit 0",
"timeout": 5
}
],
"matcher": "Edit|Write|MultiEdit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "STATE_DIR=\"${HOME}/.claude/feature-workflow\"; SCRIPT=\"${CLAUDE_PLUGIN_ROOT}/plugins/feature-workflow/scripts/phase-enforcer.sh\"; if [ -x \"$SCRIPT\" ] && [ -d \"$STATE_DIR\" ] && [ -n \"$(ls -A \"$STATE_DIR\" 2>/dev/null)\" ]; then for f in \"$STATE_DIR\"/*.state; do [ -f \"$f\" ] && \"$SCRIPT\" status \"$(basename \"$f\" .state)\" 2>/dev/null && break; done; fi",
"timeout": 10
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 2
},
"eventStats": {
"PreToolUse": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 2,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}