From fullstack-dev-skills
After every Claude response: runs m="$(git -C "${CLAUDE_PROJECT_DIR:-.}" rev-parse --absolute-git-dir 2>/dev/null)…. Before a tool call (Write|Edit|MultiEdit|NotebookEdit|Bash): runs m="$(git -C "${CLAUDE_PROJECT_DIR:-.}" rev-parse --absolute-git-dir 2>/dev/null)…. And 2 more.
4 events · 4 hooks
Ships in fullstack-dev-skills. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
m="$(git -C "${CLAUDE_PROJECT_DIR:-.}" rev-parse --absolute-git-dir 2>/dev/null)/ticket-guard/marker.json"; [ -f "$m" ] || exit 0; u="$(command -v uv)"; for c in "$HOME/.local/bin/uv" "$HOME/.cargo/bin/uv"; do [ -n "$u" ] || { [ -x "$c" ] && u="$c"; }; done; [ -n "$u" ] || { e="ticket-guard: uv not found on the PATH Claude Code runs hooks with, or in ~/.local/bin or ~/.cargo/bin, so the guard did not run and GREEN was not checked. A ticket is in progress, so the guard blocks one stop per ticket; the next stop goes through unchecked. Put uv on that PATH and retry (see Goal Runs, 'When something goes wrong')."; set -- $(cksum <"$m"); f="${m%/*}/uv-missing-stop.$1"; [ -n "$1" ] && [ -f "$f" ] && { printf '{"systemMessage":"%s"}\n' "$e"; exit 0; }; echo "$e" >&2; [ -z "$1" ] || true 2>/dev/null >"$f"; exit 2; }; exec "$u" run -q --no-project --python ">=3.11" "${CLAUDE_PLUGIN_ROOT}/runtime/guard.pyz" hook stopWrite|Edit|MultiEdit|NotebookEdit|Bashm="$(git -C "${CLAUDE_PROJECT_DIR:-.}" rev-parse --absolute-git-dir 2>/dev/null)/ticket-guard/marker.json"; [ -f "$m" ] || exit 0; u="$(command -v uv)"; for c in "$HOME/.local/bin/uv" "$HOME/.cargo/bin/uv"; do [ -n "$u" ] || { [ -x "$c" ] && u="$c"; }; done; [ -n "$u" ] || { echo "ticket-guard: uv not found on the PATH Claude Code runs hooks with, or in ~/.local/bin or ~/.cargo/bin. A ticket is in progress, so the guard blocks this instead of letting it through unchecked. Put uv on that PATH and retry (see Goal Runs, 'When something goes wrong')." >&2; exit 2; }; exec "$u" run -q --no-project --python ">=3.11" "${CLAUDE_PLUGIN_ROOT}/runtime/guard.pyz" hook pre-tool-useWrite|Edit|MultiEdit|NotebookEditm="$(git -C "${CLAUDE_PROJECT_DIR:-.}" rev-parse --absolute-git-dir 2>/dev/null)/ticket-guard/marker.json"; [ -f "$m" ] || exit 0; u="$(command -v uv)"; for c in "$HOME/.local/bin/uv" "$HOME/.cargo/bin/uv"; do [ -n "$u" ] || { [ -x "$c" ] && u="$c"; }; done; [ -n "$u" ] || { echo "ticket-guard: uv not found on the PATH Claude Code runs hooks with, or in ~/.local/bin or ~/.cargo/bin. A ticket is in progress, so the guard blocks this instead of letting it through unchecked. Put uv on that PATH and retry (see Goal Runs, 'When something goes wrong')." >&2; exit 2; }; exec "$u" run -q --no-project --python ">=3.11" "${CLAUDE_PLUGIN_ROOT}/runtime/guard.pyz" hook post-tool-usecompactm="$(git -C "${CLAUDE_PROJECT_DIR:-.}" rev-parse --absolute-git-dir 2>/dev/null)/ticket-guard/marker.json"; [ -f "$m" ] || exit 0; u="$(command -v uv)"; for c in "$HOME/.local/bin/uv" "$HOME/.cargo/bin/uv"; do [ -n "$u" ] || { [ -x "$c" ] && u="$c"; }; done; [ -n "$u" ] || { echo "ticket-guard: uv not found on the PATH Claude Code runs hooks with, or in ~/.local/bin or ~/.cargo/bin. A ticket is in progress, so the guard blocks this instead of letting it through unchecked. Put uv on that PATH and retry (see Goal Runs, 'When something goes wrong')." >&2; exit 2; }; exec "$u" run -q --no-project --python ">=3.11" "${CLAUDE_PLUGIN_ROOT}/runtime/guard.pyz" hook session-startWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub jeffallan/claude-skills --plugin fullstack-dev-skills180 plugins in 176 repositories ship this exact hooks config · first indexed Dec 16, 2025
Other plugins' hooks for the same job