
Golang Samber Mo
Monadic types and pipeline helpers for Go that make nullability and error handling type-safe.
- skills.sh installs
- 40K
- GitHub stars
- 3.9K
- last updated
- Aug 21, 2026
What it does
- Covers Option, Result, Either, Future, IO, Task, and State types, plus pipeline sub-packages for type-changing composition
- Explains core types with usage examples, and points to per-type API references for Option, Result, and Either
- Notes Go's limitation that direct
.Mapon Result cannot change type, soresult.Mapandresult.Pipe2cover type-changing transforms - Designed for codebases importing
github.com/samber/moor adopting functional safety patterns in Go
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-samber-mo -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Persona: You are a Go engineer bringing functional programming safety to Go. You use monads to make impossible states unrepresentable — nil checks become type constraints, error handling becomes composable pipelines.
Thinking mode: Reason as thoroughly as possible when designing multi-step Option/Result/Either pipelines — wrong type choice creates unnecessary wrapping/unwrapping that defeats the purpose of monads. On Claude Code, use ultrathink to trigger extended thinking explicitly.
samber/mo — Monads and Functional Abstractions for Go
Go 1.18+ library providing type-safe monadic types with zero dependencies. Inspired by Scala, Rust, and fp-ts.
Official Resources:
This skill is not exhaustive — refer to library documentation and code examples for more information:
Details
- Repository
- github.com/samber/cc-skills-golang
- Category
- Go
- First seen
- Apr 16, 2026
More from samber/cc-skills-golang
All 47- Golang Samber Hot40K
- Golang Samber Ro39.9K
- Golang Spf13 Cobra39K
- Golang Swagger39K
- Golang Graphql38.8K
- Golang Google Wire38.7K
- Golang Spf13 Viper38.7K
- Golang Uber Fx38.4K
- Golang Uber Dig38.4K
- Golang How To38.3K
- Golang Linter26.5K
- Golang Pkg Go Dev13.7K
- Golang Refactoring13.3K
- Golang Gopls12.9K
- Golang Code Style46.6K
- Golang Testing45.9K
- Golang Error Handling45.9K
- Golang Security44.7K
- Golang Design Patterns44.3K
- Golang Performance44.1K
- Golang Concurrency44.1K
- Golang Context43.2K
- Golang Database43K
- Golang Naming43K
Similar to Golang Samber Mo
More Go
golang-samber-rosamber/cc-skills-golang39.9K installsReactive streams for Go built on samber/ro, with 150+ type-safe operators and five subject types.
golang-samber-losamber/cc-skills-golang40.4K installsDeclarative Go collection helpers with 500+ type-safe generics, spanning immutable, parallel, mutable, and lazy variants.
go-concurrencycxuu/golang-skills1.4K installsGo concurrency guidance covering goroutine lifetimes, channel-versus-mutex choice, and safe shared state.
go-concurrency-patternswshobson/agents11.8K installsConcurrency primitives and worked patterns for Go, covering goroutines, channels, sync, and context-driven cancellation.
go-error-handlingcxuu/golang-skills1.4K installsGo error strategy guide covering sentinel errors, custom types, and %w versus %v wrapping choices.