Vibe-guided bskyoauth and custom repo example code in Golang 🤖 probably not safe to use in prod

Update documentation for enhanced pre-commit hooks

Updated documentation to reflect the addition of gofmt and golangci-lint
to the pre-commit hooks:
- README.md: Updated development setup section
- CONTRIBUTING.md: Updated development dependencies and hook description
- CHANGELOG.md: Expanded pre-commit hooks entry

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

+6 -3
CHANGELOG.md
··· 8 8 ## [Unreleased] 9 9 10 10 ### Added 11 - - **Pre-commit Hooks**: Added git pre-commit hooks for local security checks 12 - - scripts/pre-commit: Runs govulncheck, tests with race detection, and dependency verification 11 + - **Pre-commit Hooks**: Added git pre-commit hooks for code quality and security checks 12 + - scripts/pre-commit: Runs gofmt, golangci-lint, govulncheck, tests with race detection, and dependency verification 13 13 - scripts/install-hooks.sh: Easy installation script 14 + - .golangci.yml: golangci-lint configuration with 20+ linters enabled 14 15 - CONTRIBUTING.md: Contributor guidelines with development setup instructions 16 + - Automatic code formatting check (gofmt) 17 + - Comprehensive code quality checks (golangci-lint with errcheck, gosimple, govet, staticcheck, gosec, and more) 15 18 - All checks must pass before commit (can bypass with --no-verify) 16 - - Automatic vulnerability detection before code is committed 19 + - Automatic vulnerability and quality detection before code is committed 17 20 - **Dependency Security Scanning**: Added automated dependency management and security scanning (Issue #14) 18 21 - Dependabot configuration for weekly Go module updates 19 22 - Groups minor and patch updates to reduce PR noise
+3
CONTRIBUTING.md
··· 19 19 ```bash 20 20 go mod download 21 21 go install golang.org/x/vuln/cmd/govulncheck@latest 22 + go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest 22 23 ``` 23 24 24 25 4. **Install pre-commit hooks (recommended):** ··· 27 28 ``` 28 29 29 30 This installs git hooks that automatically run before each commit: 31 + - `gofmt` - Code formatting check 32 + - `golangci-lint` - Code quality and style (20+ linters) 30 33 - `govulncheck` - Vulnerability scanning 31 34 - `go test -race` - Tests with race detection 32 35 - `go mod verify` - Dependency verification
+2
README.md
··· 29 29 ``` 30 30 31 31 This installs a git hook that runs before each commit: 32 + - `gofmt` - Code formatting check 33 + - `golangci-lint` - Code quality and style (20+ linters) 32 34 - `govulncheck` - Vulnerability scanning 33 35 - `go test -race` - Tests with race detection 34 36 - `go mod verify` - Dependency verification