From trunk-sync
After every Claude response: runs ${CLAUDE_PLUGIN_ROOT}/scripts/trunk-sync-stop.sh. Before a tool call (Bash): runs node "${CLAUDE_PLUGIN_ROOT}/dist/lib/pre-tool-entry.js". Before a tool call (local_shell): runs node "${CLAUDE_PLUGIN_ROOT}/dist/lib/pre-tool-entry.js". And 2 more.
4 events · 5 hooks
Ships in trunk-sync. 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
${CLAUDE_PLUGIN_ROOT}/scripts/trunk-sync-stop.shBashnode "${CLAUDE_PLUGIN_ROOT}/dist/lib/pre-tool-entry.js"local_shellnode "${CLAUDE_PLUGIN_ROOT}/dist/lib/pre-tool-entry.js"Edit|Write|Bash|apply_patch|local_shell${CLAUDE_PLUGIN_ROOT}/scripts/trunk-sync.sh${CLAUDE_PLUGIN_ROOT}/scripts/trunk-sync-session-start.shWhere this hook configuration is defined
Defined in hooks/hooks.json
180 plugins in 176 repositories ship this exact hooks config · first indexed Dec 16, 2025
npx claudepluginhub elimydlarz/claude-code-plugins --plugin trunk-syncOther plugins' hooks for the same job