Event Hooks
Community

ultralytics-dev

1 event · 6 hooks

Install
1
Install the plugin
$
npx claudepluginhub fcakyon/claude-codex-settings --plugin ultralytics-dev

Want just this hook?

Then install: npx claudepluginhub u/[userId]/[slug]

Risk Indicators
Modifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "file_path=$(jq -r '.tool_input.file_path // empty' 2>/dev/null); if [[ -n \"$file_path\" && -f \"$file_path\" ]]; then case \"$file_path\" in *.py|*.js|*.jsx|*.ts|*.tsx) if [[ \"$OSTYPE\" == \"darwin\"* ]]; then sed -i '' 's/^[[:space:]]*$//g' \"$file_path\" 2>/dev/null || true; else sed -i 's/^[[:space:]]*$//g' \"$file_path\" 2>/dev/null || true; fi ;; esac; fi"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/format_python_docstrings.py"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/python_code_quality.py"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/prettier_formatting.py"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/markdown_formatting.py"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/bash_formatting.py"
        }
      ],
      "matcher": "Edit|MultiEdit|Write"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 6
  },
  "eventStats": {
    "PostToolUse": 6
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 5,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 6
  }
}
Stats
Stars506
Forks46
Last CommitNov 28, 2025

Similar Hooks