{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "${CLAUDE_PLUGIN_ROOT}/hooks/destructive-command-guard.sh",
            "timeout": 10
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "if": "Edit(*.ts)|Write(*.ts)|Edit(*.tsx)|Write(*.tsx)",
            "command": "npx biome check --no-errors-on-unmatched \"${CLAUDE_TOOL_INPUT_FILE_PATH}\" 2>/dev/null || true",
            "timeout": 30
          }
        ]
      }
    ]
  }
}
