Skip to content
Conduit

skill

claude-skills

A skill module or guideline for AI coding assistants that need to understand and apply Go(Golang) best practices

saisudhir14/claude-skillscommunitylistedunreviewed

Set up

Skills are installed by placing their folder where your agent loads skills.

The download comes from github.com/saisudhir14/claude-skills itself, not from our server, so what you get is exactly what its author published.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below.

README

synced Oct 26, 2026

claude-skills

Go best practices for AI coding agents. Distilled from Google Go Style Guide, Uber Go Style Guide, Effective Go, and Go Code Review Comments. Updated for Go 1.25.

Install: skills.sh/saisudhir14/claude-skills

npx skills add saisudhir14/claude-skills

Skills

This repository provides 9 focused skills that work across 20+ AI coding agents:

SkillDescription
golangComplete Go best practices guide (main skill)
go-error-handlingError wrapping, sentinel errors, custom types, error flow
go-concurrencyGoroutines, channels, errgroup, mutexes, atomics
go-testingTable-driven tests, benchmarks, synctest, go-cmp
go-performanceMemory allocation, string ops, GOMAXPROCS, weak pointers
go-code-reviewQuick-reference checklist for Go code reviews
go-lintinggolangci-lint config, CI integration, linter guidance
go-project-layoutDirectory structure, Makefile, Dockerfile, module setup
go-securitySQL injection, path traversal, secrets, crypto, HTTP hardening

Supported Agents

Works with all SKILL.md-compatible agents:

AgentStatus
Claude CodeSupported
CursorSupported
GitHub CopilotSupported
Codex CLISupported
Gemini CLISupported
OpenCodeSupported
AmpSupported
WindsurfSupported
ZedSupported
GooseSupported
Roo CodeSupported
KiroSupported
ClineSupported
AntigravitySupported
TraeSupported
ContinueSupported
AiderSupported
Sourcegraph CodySupported

Topics Covered

  • Error Handling: wrapping, sentinel errors, custom types, error joining (Go 1.20+)
  • Concurrency: goroutine lifecycle, errgroup, mutexes, typed atomics (Go 1.19+), sync.Map (Go 1.24+)
  • Naming: MixedCaps, initialisms, receivers, packages
  • Generics: type constraints, generic aliases (Go 1.24+)
  • Iterators: range-over-func (Go 1.23+), string/bytes iterators (Go 1.24+)
  • Testing: table-driven, T.Context/T.Chdir (Go 1.24+), b.Loop (Go 1.24+), synctest (Go 1.25+)
  • Performance: strconv, preallocating, strings.Builder, struct alignment
  • Resource Management: runtime.AddCleanup, weak pointers, os.Root (Go 1.24+)
  • Patterns: functional options, graceful shutdown, dependency injection
  • Runtime: container-aware GOMAXPROCS (Go 1.25+), encoding/json/v2 (Go 1.25 experimental)
  • Linting: golangci-lint setup, recommended linters, CI integration, suppression patterns
  • Project Layout: cmd/, internal/, Makefile, Dockerfile, module setup
  • Security: SQL injection, path traversal, secrets management, crypto, HTTP hardening, govulncheck

Repository Structure

.
├── SKILL.md                          # Main skill (comprehensive guide)
├── skills/
│   ├── go-error-handling/SKILL.md    # Error handling deep dive
│   ├── go-concurrency/SKILL.md       # Concurrency patterns
│   ├── go-testing/SKILL.md           # Testing and benchmarks
│   ├── go-performance/SKILL.md       # Performance optimization
│   ├── go-code-review/SKILL.md       # Code review checklist
│   ├── go-linting/SKILL.md          # golangci-lint configuration
│   ├── go-project-layout/SKILL.md   # Project structure and setup
│   └── go-security/SKILL.md         # Secure coding patterns
├── references/
│   ├── error-handling.md             # Extended error handling examples
│   ├── concurrency.md                # Extended concurrency patterns
│   ├── testing.md                    # Extended testing patterns
│   ├── performance.md                # Extended performance patterns
│   ├── patterns.md                   # Extended Go patterns
│   └── gotchas.md                    # Common pitfalls reference
├── LICENSE
└── README.md

Sources

License

MIT

↑↓ navigate openesc close