Files
claude-config/rules/golang/hooks.md
Yaojia Wang 2876cca8fe chore: initial backup of Claude Code configuration
Includes: CLAUDE.md, settings.json, agents, commands, rules, skills,
hooks, contexts, evals, get-shit-done, plugin configs (installed list
and marketplace sources). Excludes credentials, runtime caches,
telemetry, session data, and plugin binary cache.
2026-03-24 22:26:05 +01:00

406 B

paths
paths
**/*.go
**/go.mod
**/go.sum

Go Hooks

This file extends common/hooks.md with Go specific content.

PostToolUse Hooks

Configure in ~/.claude/settings.json:

  • gofmt/goimports: Auto-format .go files after edit
  • go vet: Run static analysis after editing .go files
  • staticcheck: Run extended static checks on modified packages