What problem does it solve? Go's standard library only covers a handful of slice and map helpers, forcing developers to write repetitive manual loops for common operations like Map, Filter, Reduce, and GroupBy. This Skill guides AI agents to write declarative, type-safe collection transforms with samber/lo while avoiding common pitfalls like premature optimization, wrong package selection, and immutability misunderstandings. ## Core Features & Use Cases - Package Selection Guidance: Choose correctly between the immutable core (lo), parallel transforms (lop), in-place mutations (lom), lazy iterators (loi, Go 1.23+), and experimental SIMD based on profiling evidence and Go version constraints. - Complete API Reference: Covers 300+ functions across slices, maps, strings, math, tuples, channels, and concurrency, including error variants like MapErr and FilterMap for graceful failure handling. - Use Case: When refactoring a Go service that chains Filter → Map → GroupBy over a large dataset, the Skill recommends lazy loi pipelines to eliminate intermediate allocations, or redirects I/O-bound fan-out to errgroup instead of lop. ## Quick Start Ask the agent to refactor a manual Go loop over a slice into a declarative samber/lo transform such as lo.Map or lo.GroupBy.