Event Hooks

git-commit

1 event · 2 hooks

From git-commit
Install
1
Run in your terminal
$
npx claudepluginhub jskswamy/claude-plugins --plugin git-commit
Risk Indicators
Executes bash commands
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "prompt",
          "prompt": "${CLAUDE_PLUGIN_ROOT}/hooks/intercept-mcp-commit.md"
        }
      ],
      "matcher": "mcp__1mcp__git_1mcp_git_commit"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/intercept-git-commit.sh",
          "timeout": 5000
        }
      ],
      "matcher": "Bash"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "prompt": 1,
    "command": 1
  },
  "eventStats": {
    "PreToolUse": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 1,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Parent Repo Stars1
Parent Repo Forks0
Last CommitFeb 2, 2026