1
0
Fork 0
mirror of https://github.com/imjasonh/cnotes synced 2026-07-18 23:01:31 +00:00

Initial implementation of Claude Code hooks in Go

- Easy-to-use hook registration system
- Built-in hooks for bash validation, file protection, and logging
- Automatic goimports formatting for modified Go files
- CLI with install/uninstall commands
- Comprehensive documentation and examples

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jason Hall 2025-07-21 10:12:28 -04:00
parent 2d0411b022
commit 2e7a2badba
Failed to extract signature
14 changed files with 767 additions and 0 deletions

32
.gitignore vendored Normal file
View file

@ -0,0 +1,32 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
go.work.sum
# Binary
hooks
# IDE files
.idea/
.vscode/
*.swp
*.swo
*~
# OS files
.DS_Store