Stats
Actions
Tags
From planhaus
Validates anti-patterns in code after Write/Edit operations using a Python script, and runs an orientation script at session start. Modifies files during validation.
2 events · 3 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Write|Editpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/on_room_edit.py"python3 -c 'import importlib.util; exit(0 if importlib.util.find_spec("yaml") and importlib.util.find_spec("matplotlib") else 1)' 2>/dev/null || python3 -m pip install -q -r "${CLAUDE_PLUGIN_ROOT}/scripts/requirements.txt" 2>/dev/null || truediff -q "${CLAUDE_PLUGIN_ROOT}/scripts/catalog/requirements-mcp.txt" "${CLAUDE_PLUGIN_DATA}/lib/.stamp" >/dev/null 2>&1 || (mkdir -p "${CLAUDE_PLUGIN_DATA}/lib" && python3 -m pip install -q --target "${CLAUDE_PLUGIN_DATA}/lib" -r "${CLAUDE_PLUGIN_ROOT}/scripts/catalog/requirements-mcp.txt" && cp "${CLAUDE_PLUGIN_ROOT}/scripts/catalog/requirements-mcp.txt" "${CLAUDE_PLUGIN_DATA}/lib/.stamp") 2>/dev/null || truenpx claudepluginhub pepuscz/planhaus --plugin planhaus