Stats
Actions
Tags
From homebrew-dev
Formats files after each Write/Edit tool call, ensuring consistent code style. Runs a shell script that modifies the file on disk.
1 event · 3 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Write|Editbash -c 'FILE="$TOOL_INPUT_FILE_PATH"; if [[ "$FILE" == Formula/*/*.rb ]]; then echo "🔍 Validating formula: $FILE"; ruby -c "$FILE" && echo "✓ Ruby syntax OK" || exit 1; fi'10msbash -c 'FILE="$TOOL_INPUT_FILE_PATH"; if [[ "$FILE" == Formula/*/*.rb ]]; then echo "🎨 Style check..."; brew style "$FILE" 2>&1 | head -20; echo "✓ Style check complete"; fi'30msbash -c 'FILE="$TOOL_INPUT_FILE_PATH"; if [[ "$FILE" == Formula/*/*.rb ]]; then echo "📋 Audit check..."; brew audit --new "$FILE" 2>&1 | head -30 || echo "⚠ Audit issues found (review above)"; fi'60msnpx claudepluginhub arustydev/agents --plugin homebrew-dev469plugins reuse this hooks config
First indexed Nov 28, 2025
Showing the 6 earliest of 469 plugins