Go
Advanced Go skills for concurrency, error handling, and interfaces.
Installation
First, install the Han CLI tool:
npm install -g @thebushidocollective/hanThen install the plugin:
han plugin install buki-goOverview
Advanced Go skills for concurrency, error handling, and interfaces.
Skills
This plugin provides the following skills:
- Concurrency
- Error Handling
- Interfaces
Usage
Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:
- Write idiomatic code following best practices
- Suggest appropriate patterns and architectures
- Catch common mistakes and anti-patterns
- Provide framework-specific guidance
License
Licensed under MIT - see repository for details.
Skills
go-concurrency
Use when Go concurrency with goroutines, channels, and sync patterns. Use when writing concurrent Go code.
go-error-handling
Use when Go error handling with error wrapping, sentinel errors, and custom error types. Use when handling errors in Go applications.
go-interfaces
Use when Go interfaces including interface design, duck typing, and composition patterns. Use when designing Go APIs and abstractions.
Hooks
Stop
Runs when the main Claude Code agent has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with go.mod -- go fmt ./...npx -y @thebushidocollective/han hook run --fail-fast --dirs-with go.mod -- go vet ./...npx -y @thebushidocollective/han hook run --fail-fast --dirs-with go.mod -- go test ./...SubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with go.mod -- go fmt ./...npx -y @thebushidocollective/han hook run --fail-fast --dirs-with go.mod -- go vet ./...npx -y @thebushidocollective/han hook run --fail-fast --dirs-with go.mod -- go test ./...