CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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).

69

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

78%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.

A well-structured reference skill: executable snippets, a sharp package-selection decision framework with profiling checkpoints, and exemplary progressive disclosure into three real, one-level-deep reference files. Remaining gains are trimming the mildly redundant Quick Reference and 'Why' sections and tightening snippet completeness. One factual nit: the description says 500+ functions while the body points to a '300+ functions' catalog.

Suggestions

Reconcile the function count between frontmatter description ("500+ type-safe generic functions") and the body's API-reference pointer ("300+ functions") to avoid contradicting itself.

Trim or cut the ✓/✗ manual-for-loop contrast and collapse the 25-row Quick Reference table into a shorter curated list, pushing the full catalog entirely to references/api-reference.md.

Make the MapErr snippet copy-paste correct (http.Get returns (*http.Response, error)) and note the assumed type declarations so the examples run as-is.

DimensionReasoningScore

Conciseness

The body is mostly lean: persona line, tight tables, executable snippets, and a mistakes table with concrete thresholds. Minor over-explanation could be trimmed — the ✓/✗ 'manual for-loop' contrast and the 'Why samber/lo' bullet list restate things Claude can infer, and the 25-row Quick Reference table partially duplicates the API reference file. This fits 'efficient; minor instances of over-explanation' (4) rather than 'every token earns its place' (5).

4 / 5

Actionability

Guidance is concrete: `go get github.com/samber/lo`, an import/alias/Go-version table, a package-selection table with quantified thresholds (~1000+ items), and four complete, compilable-in-context Go snippets (Map, Filter+Reduce, GroupBy, MapErr). Small gaps keep it at 4 rather than 5 — snippets omit package/import context and the MapErr example's `Response` type doesn't quite match `http.Get`'s `(*http.Response, error)`.

4 / 5

Workflow Clarity

The core workflow — choose `lo` first, upgrade to `lop`/`lom`/`loi` only after `pprof`/benchmarking confirms the bottleneck — is clearly sequenced with an explicit profiling checkpoint ('never assumed', 'Profile before optimizing'). This is a reference skill with no destructive or batch operations, so no validation cap applies; it sits at 'clear sequence with most checkpoints, minor gaps' rather than 5's explicit validate→fix→retry loops.

4 / 5

Progressive Disclosure

Textbook structure: SKILL.md is a genuine overview, and the three bulk materials (API Reference, Package Guide, Advanced Patterns) live in verified one-level-deep files under references/, each linked with a clear purpose statement ('For the complete function catalog (300+ functions), see [API Reference]'). No nested references, and navigation is easy — this matches the top anchor exactly.

5 / 5

Total

17

/

20

Passed

Description

92%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.

An excellent description: comprehensive and concrete about capabilities, with an explicit dual trigger (usage and import-path detection), a clear negative boundary against a sibling skill, and third-person-style phrasing. The only soft spot is a handful of missing natural synonyms users might say.

DimensionReasoningScore

Specificity

The description enumerates many concrete capabilities: "500+ type-safe generic functions for slices, maps, channels, strings, math, tuples, and concurrency (Map, Filter, Reduce, GroupBy, Chunk, Flatten, Find, Uniq, etc.)" and names all five sub-packages with their roles. Coverage is comprehensive with no meaningful gaps, matching the top anchor rather than the 'minor gaps' level 4 anchor.

5 / 5

Completeness

Both halves are explicit: what — "500+ type-safe generic functions... Core immutable package (lo), concurrent variants... in-place mutations... lazy iterators... experimental SIMD"; when — "Apply when using or adopting samber/lo, when the codebase imports github.com/samber/lo, or when implementing functional-style data transformations in Go." It even adds a negative boundary ("Not for streaming pipelines"), exceeding the level 4 anchor whose 'when' is less explicit.

5 / 5

Trigger Term Quality

Strong natural triggers: "samber/lo", the import path "github.com/samber/lo", "Functional programming", "functional-style data transformations", "Golang", and concrete function names users would mention. A few common synonyms are absent (e.g., "lodash for Go", "collection helpers"), so it sits between the 'good coverage' (4) and 'comprehensive synonyms' (5) anchors, closer to 4.

4 / 5

Distinctiveness Conflict Risk

The skill is pinned to a specific library with a unique import-path trigger, and it explicitly disambiguates from the adjacent streaming skill ("Not for streaming pipelines (→ See ... golang-samber-ro skill)"). This is a clear niche with distinct triggers and minimal conflict risk, matching the top anchor; it is well above level 4's 'minor overlap risk with closely related skills'.

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.

Validation — 14 / 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

Path

skills/golang-samber-lo/SKILL.md

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.