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 coding agents to apply samber/lo's 500+ type-safe generic functions correctly, choosing the right sub-package (immutable, parallel, mutable, or lazy iterators) for each situation. ## Core Features & Use Cases - Functional Transforms: Apply Map, Filter, Reduce, GroupBy, Chunk, Flatten, Uniq, and hundreds more helpers with compile-time type safety and zero external dependencies. - Package Selection Guidance: Choose between core lo (immutable), lop (CPU-bound parallelism), lom (in-place mutation), loi (lazy iterators for Go 1.23+), and experimental SIMD based on profiling evidence. - Pitfall Avoidance: Avoid common mistakes such as using lop for I/O-bound work, discarding immutable return values, or calling lo.Must in request handlers. - Use Case: When refactoring a Go service that filters orders, maps them to summaries, and groups results by status, the Skill produces declarative lo pipelines with proper error variants like MapErr instead of nested loops. ## Quick Start Ask the agent to refactor a Go function that manually loops over a slice into declarative samber/lo transforms with appropriate error handling.