npx claudepluginhub stanislavjiricek/neuroflow --plugin neuroflowDefined in hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "f=\"${CLAUDE_TOOL_RESULT_FILE_PATH:-}\"; case \"$f\" in *.py) [ -f \"$f\" ] && ruff format \"$f\" >/dev/null 2>&1;; esac; true",
"timeout": 10
},
{
"type": "command",
"command": "f=\"${CLAUDE_TOOL_RESULT_FILE_PATH:-}\"; case \"$f\" in */.neuroflow/flowie/*) d=\"${f%%/.neuroflow/*}/.neuroflow/flowie\"; [ -d \"$d/.git\" ] && { git -C \"$d\" add -A; git -C \"$d\" commit -m \"sync: auto\"; git -C \"$d\" push; } >/dev/null 2>&1;; esac; true",
"timeout": 30
}
],
"matcher": "Edit|Write"
}
]
}"After Write/Edit tool uses, runs Python scripts validate_track.py and check_version_sync.py for validation and version sync checks. Touches file writes."