Skip to content

Best Claude Skills for Go

Claude Code skills for Go development. Write idiomatic Go, build concurrent systems, and follow Go best practices with AI assistance.

78 skills in this category

78 skills
SkillInstalls
launch-strategy logo
launch-strategycoreyhaines31/marketingskills

Structured framework for planning product launches, feature announcements, and go-to-market strategies.

56.8K
golang-code-style logo
golang-code-stylesamber/cc-skills-golang

Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt. Use when writing or reviewing Go code, asking about style or clarity, or establishing project coding standards. Not for naming conventions (→ See `samber/cc-skills-go...

44.1K
golang-testing logo
golang-testingsamber/cc-skills-golang

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, se...

43.3K
golang-error-handling logo
golang-error-handlingsamber/cc-skills-golang

Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at...

43.3K
golang-design-patterns logo
golang-design-patternssamber/cc-skills-golang

Idiomatic Golang design patterns — functional options, constructors, error flow and cascading, resource management and lifecycle, graceful shutdown, resilience, architecture, dependency injection, data handling, streaming, and more. Apply when explicitly choosing between architectural patterns, i...

42.3K
golang-security logo
golang-securitysamber/cc-skills-golang

Security best practices and vulnerability prevention for Golang. Covers injection (SQL, command, XSS), cryptography, filesystem safety, network security, cookies, secrets management, memory safety, and logging. Apply when writing, reviewing, or auditing Go code for security, or when working on an...

42.3K
golang-performance logo
golang-performancesamber/cc-skills-golang

Golang performance optimization patterns and methodology - if X bottleneck, then apply Y. Covers allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, and hot-path optimization. Use when profiling or benchmarks have identified a bottleneck and you need the right optimi...

42.2K
golang-concurrency logo
golang-concurrencysamber/cc-skills-golang

Golang concurrency patterns. Use when writing or reviewing concurrent Go code involving goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, or fan-out/fan-in pipelines. Also triggers when you detect goroutine leaks, race conditions, channel ownership issues...

41.8K
golang-context logo
golang-contextsamber/cc-skills-golang

Idiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and deadlines, request-scoped values, context.WithoutCancel for background work outliving requests. Apply when designing context propagation across layers, debugging leaked or unexpired contexts...

41.2K
golang-naming logo
golang-namingsamber/cc-skills-golang

Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters/setters, functional options, acronyms, test functions, and subtest names. Use this skill when writing new Go code, reviewing or refactoring, choosing between...

41.1K
golang-database logo
golang-databasesamber/cc-skills-golang

Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use when writing, reviewing, or debugging Golang code that inter...

41.1K
golang-safety logo
golang-safetysamber/cc-skills-golang

Defensive Golang coding to prevent panics, silent data corruption, and subtle runtime bugs. Use when encountering nil panics, append aliasing, map concurrent access, float comparison pitfalls, or zero-value design questions. Also use when reviewing code for nil-safety, numeric conversion overflow...

40.8K
golang-documentation logo
golang-documentationsamber/cc-skills-golang

Comprehensive documentation guide for Golang projects, covering godoc comments, README, CONTRIBUTING, CHANGELOG, Go Playground, Example tests, API docs, and llms.txt. Use when writing or reviewing doc comments, documentation, adding code examples, setting up doc sites, or discussing documentation...

40.8K
golang-data-structures logo
golang-data-structuressamber/cc-skills-golang

Golang data structures — slices (internals, capacity growth, preallocation, slices package), maps (internals, hash buckets, maps package), arrays, container/list/heap/ring, strings.Builder vs bytes.Buffer, generic collections, pointers (unsafe.Pointer, weak.Pointer), and copy semantics. Use when ...

40.8K
golang-modernize logo
golang-modernizesamber/cc-skills-golang

Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. Trigger proactively when writing or reviewing Go code and old-style patterns are detected, or when encountering a deprecation warning. Also use when the user explicitly asks for moderniza...

40.7K
golang-project-layout logo
golang-project-layoutsamber/cc-skills-golang

Provides a guide for setting up Golang project layouts and workspaces. Use when starting a new Go project, organizing an existing codebase, setting up a monorepo with multiple packages, creating CLI tools with multiple main packages, deciding between cmd/internal/pkg directory conventions, or dis...

40.7K
golang-lint logo
golang-lintsamber/cc-skills-golang

golang lint

40.6K
golang-troubleshooting logo
golang-troubleshootingsamber/cc-skills-golang

Troubleshoot Golang programs systematically - find and fix the root cause. Use when encountering bugs, crashes, deadlocks, or unexpected behavior in Go code. Covers debugging methodology, common Go pitfalls, test-driven debugging, pprof setup and capture, Delve debugger, race detection, GODEBUG t...

40.4K
golang-observability logo
golang-observabilitysamber/cc-skills-golang

Golang everyday observability — the always-on signals in production. Covers structured logging with slog, Prometheus metrics, OpenTelemetry distributed tracing, continuous profiling with pprof/Pyroscope, server-side RUM event tracking, alerting, and Grafana dashboards. Apply when instrumenting Go...

40.3K
golang-dependency-management logo
golang-dependency-managementsamber/cc-skills-golang

Dependency management strategies for Golang projects — go.mod management, installing/upgrading packages, Minimal Version Selection, vulnerability scanning, outdated dependency tracking, binary size analysis, Dependabot/Renovate setup, conflict resolution, and go.work workspaces. Use when adding, ...

40.2K
golang-structs-interfaces logo
golang-structs-interfacessamber/cc-skills-golang

Golang struct and interface design patterns — composition, embedding, type assertions, type switches, interface segregation, dependency injection via interfaces, struct field tags, and pointer vs value receivers. Use this skill when designing Go types, defining or implementing interfaces, embeddi...

40.2K
golang-popular-libraries logo
golang-popular-librariessamber/cc-skills-golang

Recommends production-ready Golang libraries and frameworks. Apply when the user explicitly asks for library suggestions, wants to compare alternatives, needs to choose a library for a specific task, or when a new dependency is being added to the project.

40K
golang-benchmark logo
golang-benchmarksamber/cc-skills-golang

Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go benchmarks, profiling hot paths with pprof, interpreting CPU/memory/trace profiles, analyzing results with benchstat, setting up CI benchmark regression detection, or investigating production p...

40K
golang-dependency-injection logo
golang-dependency-injectionsamber/cc-skills-golang

Comprehensive guide for dependency injection (DI) in Golang. Covers why DI matters (testability, loose coupling, separation of concerns, lifecycle management), manual constructor injection, and DI library comparison (google/wire, uber-go/dig, uber-go/fx, samber/do). Use this skill when designing ...

40K
Showing 1–24 of 78
1 / 4

Related categories

Other
6,804 skills
DevOps & CI/CD
6,338 skills
Security
3,684 skills
Marketing
1,893 skills
Design & UI/UX
1,178 skills

FAQ

What are go skills?

Go skills are reusable instructions that teach AI agents how to work in go workflows. They help agents follow framework conventions, generate better output, and stay aligned with best practices in this domain.

How do I install a go skill?

Run the install command shown on each skill page, e.g. `npx skills add owner/repo --skill skill-name`. The skill becomes available in your agent sessions after installation.

Which tools and frameworks are covered?

Browse skills tagged for go to find options for popular stacks and libraries. The catalog is community-maintained and updated as new skills are published to GitHub.