Event Hooks

project-orchestrator

2 events · 4 hooks

From project-orchestrator
Install
1
Run in your terminal
$
npx claudepluginhub vivekmano27/agent-orchestrator --plugin project-orchestrator
Risk Indicators
Executes bash commandsModifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "INPUT=$(cat); CMD=$(echo \"$INPUT\" | jq -r '.tool_input.command // empty' 2>/dev/null || echo ''); if echo \"$CMD\" | grep -qE 'git\\s+commit'; then bash \"${CLAUDE_PLUGIN_ROOT}/hooks/pre-commit-lint.sh\"; fi"
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/phase-validator.sh\""
        }
      ],
      "matcher": "Agent"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "INPUT=$(cat); CMD=$(echo \"$INPUT\" | jq -r '.tool_input.command // empty' 2>/dev/null || echo ''); if echo \"$CMD\" | grep -qE 'git\\s+commit'; then HASH=$(git rev-parse --short HEAD 2>/dev/null || echo '?'); MSG=$(git log -1 --format='%s' 2>/dev/null || echo ''); BRANCH=$(git branch --show-current 2>/dev/null || echo '?'); TS=$(date '+%Y-%m-%d %H:%M'); echo \"[$TS] $HASH | $BRANCH | $MSG\" >> claude-progress.txt 2>/dev/null || true; fi"
        }
      ],
      "matcher": "Bash"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "INPUT=$(cat); FILE=$(echo \"$INPUT\" | jq -r '.tool_input.file_path // empty' 2>/dev/null || echo ''); if [ -n \"$FILE\" ]; then EXT=\"${FILE##*.}\"; case \"$EXT\" in ts|tsx|js|jsx|json) npx prettier --write \"$FILE\" 2>/dev/null || true ;; py) ruff format \"$FILE\" 2>/dev/null || true ;; dart) dart format \"$FILE\" 2>/dev/null || true ;; kt|kts) command -v ktlint >/dev/null 2>&1 && ktlint --format \"$FILE\" 2>/dev/null || true ;; go) gofmt -w \"$FILE\" 2>/dev/null || true ;; esac; fi"
        }
      ],
      "matcher": "Write|Edit"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "PreToolUse": 2,
    "PostToolUse": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 2,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 4
  }
}
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitMar 15, 2026