Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
From homebrew-dev
Runs a UX hint script after Write/Edit/MultiEdit tool calls to provide user feedback. Writes files.
1 event · 3 hooks
npx claudepluginhub arustydev/agents --plugin homebrew-devSafety 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'60msShare bugs, ideas, or general feedback.