This skill should be used for Go idioms, error handling, goroutines, interfaces, and testing, golang, Go language, Go modules, Go concurrency
Generates idiomatic Go code for error handling, interfaces, concurrency, and table-driven tests.
npx claudepluginhub zate/cc-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Idiomatic Go patterns for Go 1.21+.
if err != nil {
return fmt.Errorf("failed to process %s: %w", id, err)
}
Small interfaces (1-3 methods). Accept interfaces, return structs.
type Reader interface {
Read(p []byte) (n int, err error)
}
tests := []struct{
name string
input, want int
}{
{"positive", 2, 3},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := Fn(tt.input); got != tt.want {
t.Errorf("got %d, want %d", got, tt.want)
}
})
}
Always propagate context for cancellation:
func work(ctx context.Context) error {
select {
case <-ctx.Done():
return ctx.Err()
default:
// do work
}
}
f, err := os.Open(path)
if err != nil { return err }
defer f.Close()
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.