Stats
Actions
Tags
From worktree-context
Validates MongoDB/Mongoose credentials before any file write or edit, blocking tools until valid. Also checks for version updates on every user prompt. Runs Python and bash scripts.
2 events · 4 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in ./settings.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Bashif echo "$CLAUDE_TOOL_INPUT" | grep -q 'root/master'; then echo '{"decision": "block", "reason": "Direct edits to root/master/ are not allowed. Create a worktree in worktree/ folder instead using /wt-new command."}'; exit 2; fiEditif echo "$CLAUDE_TOOL_INPUT" | grep -q 'root/master'; then echo '{"decision": "block", "reason": "Direct edits to root/master/ are not allowed. Create a worktree in worktree/ folder instead using /wt-new command."}'; exit 2; fiWriteif echo "$CLAUDE_TOOL_INPUT" | grep -q 'root/master'; then echo '{"decision": "block", "reason": "Direct edits to root/master/ are not allowed. Create a worktree in worktree/ folder instead using /wt-new command."}'; exit 2; fi*if echo "$CLAUDE_USER_PROMPT" | grep -qi 'commit\|push\|merge'; then echo 'Reminder: Use /wt-pr to create PRs from worktree branches.'; fi; exit 012plugins reuse this hooks config
First indexed Dec 17, 2025
Showing the 6 earliest of 12 plugins
npx claudepluginhub iknite/claude-code-marketplace --plugin worktree-context