{"name":"sagargupta16-recipe-hooks-hooks","owner":{"name":"ClaudePluginHub"},"plugins":[{"name":"sagargupta16-recipe-hooks-hooks","source":{"source":"git-subdir","url":"https://github.com/sagargupta16/claude-code-recipes","path":"hooks"},"description":"Lint before git commit and run tests before git push (both block with exit 2), format every file Claude edits, and a desktop notification when Claude is waiting on you. Needs jq","version":"1.3.0","keywords":["hooks","lint","format","pre-commit","notification"],"category":"testing","hooks":{"PreToolUse":[{"hooks":[{"if":"Bash(git commit *)","type":"command","command":"bash \"${CLAUDE_PLUGIN_ROOT}/pre-commit-lint.sh\"","statusMessage":"Linting staged files before commit"},{"if":"Bash(git push *)","type":"command","command":"bash \"${CLAUDE_PLUGIN_ROOT}/pre-push-test.sh\"","statusMessage":"Running tests before push"}],"matcher":"Bash"}],"PostToolUse":[{"hooks":[{"type":"command","command":"bash \"${CLAUDE_PLUGIN_ROOT}/post-edit-format.sh\"","statusMessage":"Formatting the edited file"}],"matcher":"Edit|Write"}],"Notification":[{"hooks":[{"type":"command","command":"bash \"${CLAUDE_PLUGIN_ROOT}/notification.sh\""}]}]}}]}