Event Hooks

claude-dev-infrastructure

3 events · 4 hooks

From claude-dev-infrastructure
Install
1
Run in your terminal
$
npx claudepluginhub ananddtyagi/claude-code-marketplace --plugin claude-dev-infrastructure
Risk Indicators
Modifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "name": "task-lock-enforcer",
      "hooks": [
        {
          "type": "command",
          "command": "./hooks/task-lock-enforcer.sh"
        }
      ],
      "matcher": "Edit|Write",
      "description": "Prevents concurrent editing of task files by multiple Claude sessions"
    },
    {
      "name": "master-plan-reminder",
      "hooks": [
        {
          "type": "command",
          "command": "./hooks/master-plan-reminder.sh"
        }
      ],
      "matcher": "Edit|Write",
      "description": "Reminds to update MASTER_PLAN.md when modifying tracked files"
    }
  ],
  "SessionEnd": [
    {
      "name": "session-lock-release",
      "hooks": [
        {
          "type": "command",
          "command": "./hooks/session-lock-release.sh"
        }
      ],
      "description": "Releases task locks when session ends"
    }
  ],
  "SessionStart": [
    {
      "name": "session-lock-awareness",
      "hooks": [
        {
          "type": "command",
          "command": "./hooks/session-lock-awareness.sh"
        }
      ],
      "description": "Shows active task locks from other sessions at startup"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "PreToolUse": 2,
    "SessionEnd": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 0,
    "projectScripts": 4
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 4
  }
}
Stats
Parent Repo Stars624
Parent Repo Forks52
Last CommitJan 18, 2026