Stats
Actions
Tags
From github-conventions
Blocks Bash tool calls that attempt to run `git worktree add`, preventing accidental worktree creation. Executes a shell script to inspect and reject matching commands.
1 event · 1 hook
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
Bashnode -e "let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const i=JSON.parse(d);const cmd=i.tool_input?.command||'';if(/\bgh\s+(pr|issue)\s+(create|comment|edit)|\bgh\s+pr\s+review\b|\bgit\s+(commit|push|tag)\b/.test(cmd)){console.log(JSON.stringify({hookSpecificOutput:{hookEventName:'PreToolUse',additionalContext:'Load the github-conventions skill. Use 1./2./3. for numbered lists, never #1/#2/#3. Follow conventional commits for commit messages.'}}));}else{console.log(d)}}catch{console.log(d)}})"npx claudepluginhub jartan-llc/grimoire --plugin github-conventions