Event Hooks

resolve-mcp

2 events · 3 hooks

From resolve-mcp
Install
1
Run in your terminal
$
npx claudepluginhub jenkinsm13/resolve-mcp
Risk Indicators
Modifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "if echo \"$CLAUDE_TOOL_INPUT\" | grep -qE '\\.env\"|\\.env$'; then echo 'BLOCKED: Do not edit .env files — they contain API keys' >&2; exit 1; fi"
        }
      ],
      "matcher": "Edit|Write"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "echo '⚠️  DESTRUCTIVE: This will delete data in DaVinci Resolve that cannot be undone. Confirm with the user before proceeding.' >&2"
        }
      ],
      "matcher": "mcp__resolve-mcp__resolve_delete_clips|mcp__resolve-mcp__resolve_delete_timelines|mcp__resolve-mcp__resolve_delete_clips_from_timeline|mcp__resolve-mcp__resolve_reset_grades|mcp__resolve-mcp__resolve_delete_markers|mcp__resolve-mcp__resolve_delete_track|mcp__resolve-mcp__resolve_delete_bins|mcp__resolve-mcp__resolve_delete_stills|mcp__resolve-mcp__resolve_delete_render_job|mcp__resolve-mcp__resolve_delete_all_render_jobs|mcp__resolve-mcp__resolve_delete_project"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "FILE=$(echo \"$CLAUDE_TOOL_INPUT\" | grep -oE '\"file_path\":\\s*\"[^\"]+\\.py\"' | head -1 | sed 's/.*\"\\([^\"]*\\.py\\)\"/\\1/'); if [ -n \"$FILE\" ] && command -v ruff >/dev/null 2>&1; then ruff format --quiet \"$FILE\" 2>/dev/null; ruff check --fix --quiet \"$FILE\" 2>&1 | tail -5; fi"
        }
      ],
      "matcher": "Edit|Write"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 3
  },
  "eventStats": {
    "PreToolUse": 2,
    "PostToolUse": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 0,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 3
  }
}
Stats
Stars0
Forks0
Last CommitFeb 22, 2026