CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-samber-lo

Functional programming helpers for Golang using samber/lo — 500+ type-safe generic functions for slices, maps, channels, strings, math, tuples, and concurrency (Map, Filter, Reduce, GroupBy, Chunk, Flatten, Find, Uniq, etc.). Core immutable package (lo), concurrent variants (lo/parallel aka lop), in-place mutations (lo/mutable aka lom), lazy iterators (lo/it aka loi for Go 1.23+), and experimental SIMD (lo/exp/simd). Apply when using or adopting samber/lo, when the codebase imports github.com/samber/lo, or when implementing functional-style data transformations in Go. Not for streaming pipelines (→ See `samber/cc-skills-golang@golang-samber-ro` skill).

70

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

85%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a well-structured overview: actionable code, clear package-selection workflow with a profiling checkpoint, and clean progressive disclosure into real reference files. It is tight and respects Claude's intelligence, with only minor restatable motivational content.

DimensionReasoningScore

Conciseness

The body is largely efficient with a Persona line, tight tables, and focused code samples; it assumes Claude's competence and avoids explaining generics or what a slice is. A few sections (the 'Why samber/lo' bullets and Common Mistakes table) slightly restate motivation Claude could infer, keeping it just shy of fully lean.

4 / 5

Actionability

Code examples are complete and copy-paste ready (lo.Map, Filter+Reduce, GroupBy, MapErr), the install command and per-package import/alias/Go-version table are executable, and the Quick Reference and decision tables give concrete guidance for the common cases.

5 / 5

Workflow Clarity

The 'Choose the Right Package' section sequences the decision (start with lo → profile → upgrade to lom/lop/loi) with the profiling checkpoint ('profile before optimizing', pprof -alloc_objects) as the validation gate. This is a guidance skill rather than a destructive/batch operation, so no hard validation loop is required, but the workflow is a decision flow rather than a step sequence, leaving it just below a 5.

4 / 5

Progressive Disclosure

The SKILL.md is a concise overview that signals one-level-deep references to real bundle files — [Package Guide](./references/package-guide.md), [API Reference](./references/api-reference.md), [Advanced Patterns](./references/advanced-patterns.md) — all of which exist in ./references/, with the bulk (300+ function catalog) correctly deferred to those files rather than inlined.

5 / 5

Total

18

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, complete, and well-bounded: it names concrete functions and sub-packages, gives explicit 'Apply when' triggers, and scopes out a sibling skill to avoid conflict. Voice is appropriately third person.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — '500+ type-safe generic functions for slices, maps, channels, strings, math, tuples, and concurrency' with named examples (Map, Filter, Reduce, GroupBy, Chunk, Flatten, Find, Uniq) and enumerates the constituent packages (lo, lop, lom, loi, simd), giving comprehensive coverage of concrete actions.

5 / 5

Completeness

Explicitly answers both 'what' (the 500+ helpers and sub-packages) and 'when' via the clear 'Apply when using or adopting samber/lo, when the codebase imports github.com/samber/lo, or when implementing functional-style data transformations in Go' trigger clause.

5 / 5

Trigger Term Quality

Good natural-term coverage including 'functional-style data transformations', 'Map/Filter/Reduce', 'lazy iterators', and 'concurrency', plus the import path users would mention; a few common phrasings like 'lodash for Go' synonyms are absent, so it stops just below comprehensive.

4 / 5

Distinctiveness Conflict Risk

Clear niche tied to the specific samber/lo library and its import path, with an explicit negative boundary ('Not for streaming pipelines → golang-samber-ro skill') minimizing the chance of triggering for a wrong, adjacent skill.

5 / 5

Total

19

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

metadata_field

'metadata' should map string keys to string values

Warning

Total

14

/

16

Passed

Repository
samber/cc-skills-golang
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.