cxuu avatar

cxuu/golang-skills

skills.sh installs
25.6K
skills
20

Install

$ npx -y skills add cxuu/golang-skills --agent claude-code

Installs into .claude/skills of the current project.

Skills

1cxuu avatargo-code-reviewcxuu/golang-skillsUse when reviewing Go code or checking code against community style standards. Also use proactively before submitting a Go PR or when reviewing any Go code chan1.8Kskills.sh installs
2cxuu avatargo-testingcxuu/golang-skillsUse when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with1.4Kskills.sh installs
3cxuu avatargo-error-handlingcxuu/golang-skillsUse when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and fmt.Errorf (%w vs %v), structuring error f1.3Kskills.sh installs
4cxuu avatargo-lintingcxuu/golang-skillsUse when setting up linting for a Go project, configuring golangci-lint, or adding Go checks to a CI/CD pipeline. Also use when starting a new Go project and de1.3Kskills.sh installs
5cxuu avatargo-concurrencycxuu/golang-skillsUse when writing concurrent Go code — goroutines, channels, mutexes, or thread-safety guarantees. Also use when parallelizing work, fixing data races, or protec1.3Kskills.sh installs
6cxuu avatargo-interfacescxuu/golang-skillsUse when defining or implementing Go interfaces, designing abstractions, creating mockable boundaries for testing, or composing types through embedding. Also us1.3Kskills.sh installs
7cxuu avatargo-documentationcxuu/golang-skillsUse when writing or reviewing documentation for Go packages, types, functions, or methods. Also use proactively when creating new exported types, functions, or 1.3Kskills.sh installs
8cxuu avatargo-style-corecxuu/golang-skillsUse when working with Go formatting, line length, nesting, naked returns, semicolons, or core style principles. Also use when a style question isn't covered by 1.3Kskills.sh installs
9cxuu avatargo-performancecxuu/golang-skillsUse when optimizing Go code, investigating slow performance, or writing performance-critical sections. Also use when a user mentions slow Go code, string concat1.3Kskills.sh installs
10cxuu avatargo-contextcxuu/golang-skillsUse when working with context.Context in Go — placement in signatures, propagating cancellation and deadlines, and storing values in context vs parameters. Also1.3Kskills.sh installs
11cxuu avatargo-namingcxuu/golang-skillsUse when naming any Go identifier — packages, types, functions, methods, variables, constants, or receivers — to ensure idiomatic, clear names. Also use when a 1.3Kskills.sh installs
12cxuu avatargo-defensivecxuu/golang-skillsUse when hardening Go code at API boundaries — copying slices/maps, verifying interface compliance, using defer for cleanup, time.Time/time.Duration, or avoidin1.3Kskills.sh installs
13cxuu avatargo-packagescxuu/golang-skillsUse when creating Go packages, organizing imports, managing dependencies, or deciding how to structure Go code into packages. Also use when starting a new Go pr1.3Kskills.sh installs
14cxuu avatargo-data-structurescxuu/golang-skillsUse when working with Go slices, maps, or arrays — choosing between new and make, using append, declaring empty slices (nil vs literal for JSON), implementing s1.3Kskills.sh installs
15cxuu avatargo-functional-optionscxuu/golang-skillsUse when designing a Go constructor or factory function with optional configuration — especially with 3+ optional parameters or extensible APIs. Also use when b1.3Kskills.sh installs
16cxuu avatargo-control-flowcxuu/golang-skillsUse when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches1.3Kskills.sh installs
17cxuu avatargo-loggingcxuu/golang-skillsUse when choosing a logging approach, configuring slog, writing structured log statements, or deciding log levels in Go. Also use when setting up production log1.1Kskills.sh installs
18cxuu avatargo-functionscxuu/golang-skillsUse when organizing functions within a Go file, formatting function signatures, designing return values, or following Printf-style naming conventions. Also use 1.1Kskills.sh installs
19cxuu avatargo-genericscxuu/golang-skillsUse when deciding whether to use Go generics, writing generic functions or types, choosing constraints, or picking between type aliases and type definitions. Al1.1Kskills.sh installs
20cxuu avatargo-declarationscxuu/golang-skillsUse when declaring or initializing Go variables, constants, structs, or maps — including var vs :=, reducing scope with if-init, formatting composite literals, 1.1Kskills.sh installs