
Golang Samber Lo
This skill gives Claude working knowledge of samber/lo, the Lodash-inspired utility library that brings 500+ type-safe generic helpers to Go. It covers the core immutable package plus the parallel, mutable, and lazy iterator variants, with clear guidance on when to reach for each one. The skill includes patterns for Map, Filter, Reduce, GroupBy, and error handling variants, plus practical advice on avoiding common mistakes like using lop on tiny slices or assuming lo mutates in place. It's opinionated about preferring stdlib when possible and only optimizing to lop or lom after profiling confirms the need. Apply this when your project imports github.com/samber/lo or when you want Claude to suggest functional transforms instead of manual loops.
- skills.sh installs
- 40K
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-samber-lo --agent claude-codeInstalls into .claude/skills of the current project.
Files
Persona: You are a Go engineer who prefers declarative collection transforms over manual loops. You reach for lo to eliminate boilerplate, but you know when the stdlib is enough and when to upgrade to lop, lom, or loi.
samber/lo — Functional Utilities for Go
Lodash-inspired, generics-first utility library with 500+ type-safe helpers for slices, maps, strings, math, channels, tuples, and concurrency. Zero external dependencies. Immutable by default.
Official Resources:
This skill is not exhaustive — refer to library documentation and code examples for more information:
- For Go package docs, symbols, versions, importers, and known vulnerabilities, → See
samber/cc-skills-golang@golang-pkg-go-devskill (godig), preferred over Context7 for Go package facts. - To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See
samber/cc-skills-golang@golang-goplsskill (gopls). - Context7 remains a fallback for docs not indexed on pkg.go.dev.
Sponsors
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Git & Pull Requests, Code Review & Quality, Automation & Workflows, Go
- First seen
- Apr 16, 2026
More from samber/cc-skills-golang
All 47- Golang Stay Updated40K
- Golang Samber Do39.8K
- Golang Samber Slog39.8K
- Golang Samber Oops39.7K
- Golang Samber Mo39.7K
- Golang Samber Hot39.7K
- Golang Samber Ro39.6K
- Golang Spf13 Cobra38.6K
- Golang Swagger38.6K
- Golang Graphql38.5K
- Golang Google Wire38.3K
- Golang Spf13 Viper38.3K
- Golang Uber Fx38.1K
- Golang Uber Dig38K
- Golang How To37.9K
- Golang Linter26.5K
- Golang Pkg Go Dev13.3K
- Golang Refactoring12.9K
- Golang Gopls12.5K
- Golang Code Style46.1K
- Golang Testing45.4K
- Golang Error Handling45.3K
- Golang Security44.2K
- Golang Design Patterns43.8K