Created
August 1, 2025 22:45
-
-
Save obie/c65557e0ea71a9540d238fb83cb5205e to your computer and use it in GitHub Desktop.
Run Rubocop with autocorrect everytime Claude Code does an update or write, and play a sound so you know it did it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://json.schemastore.org/claude-code-settings.json", | |
"model": "opus", | |
"hooks": { | |
"PostToolUse": [ | |
{ | |
"matcher": "Update|Write", | |
"hooks": [ | |
{ | |
"type": "command", | |
"command": "rubocop -A && afplay /System/Library/Sounds/Purr.aiff" | |
} | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment