Event Hooks

git-toolkit

1 event · 1 hook

From git-toolkit
Install
1
Run in your terminal
$
npx claudepluginhub walis85300/marketplace --plugin git-toolkit
Risk Indicators
Executes bash commands
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "prompt",
          "prompt": "Check if this bash command contains a destructive git operation (force push, reset --hard, branch -D on main/master, or clean -f). If it does, warn the user and suggest a safer alternative. If it's safe, approve it silently. Command context: $ARGUMENTS"
        }
      ],
      "matcher": "Bash"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "prompt": 1
  },
  "eventStats": {
    "PreToolUse": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 0,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Parent Repo Stars4
Parent Repo Forks2
Last CommitFeb 12, 2026