Automatically runs go mod tidy when Go files or go.mod are modified to keep dependencies clean
Key capabilities and functionality
Hook configuration and script content
Setup instructions and requirements
~/.claude/config.json
%APPDATA%\Claude\config.json
~/.config/claude/config.json
Common scenarios and applications
Prerequisites and dependencies
Common issues and solutions
jq command not found
Install jq: brew install jq (macOS) or apt-get install jq (Ubuntu)
Go formatting tools not available
Install Go development tools and ensure gofmt is in PATH
September 19, 2025