CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-samber-hot

In-memory caching in Golang using samber/hot — eviction algorithms (LRU, LFU, TinyLFU, W-TinyLFU, S3FIFO, ARC, TwoQueue, SIEVE, FIFO), TTL, cache loaders, sharding, stale-while-revalidate, missing key caching, and Prometheus metrics. Apply when using or adopting samber/hot, when the codebase imports github.com/samber/hot, or when the project repeatedly loads the same medium-to-low cardinality resources at high frequency and needs to reduce latency or backend pressure.

78

Quality

100%

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

100%

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

The skill body is dense, actionable, and well-structured: executable Go examples, a decision-oriented algorithm table, a validated capacity-sizing workflow, and clean progressive disclosure to three real reference files. It avoids verbosity and assumes competence throughout.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence — a dense algorithm comparison table, terse Common Mistakes/Best Practices, and a worked capacity example with no padded explanations of what caching or libraries are, matching the 'lean and efficient; every token earns its place' anchor rather than the mostly-efficient-but-tightenable 2.

3 / 3

Actionability

Provides fully executable, copy-paste-ready Go builder chains (e.g. hot.NewHotCache[string, *User](hot.WTinyLFU, 10_000).WithTTL(...).Build()), named constants, a concrete 'go get' command, and a numeric capacity worked example, satisfying the 'fully executable code/commands; copy-paste ready' anchor.

3 / 3

Workflow Clarity

The Capacity Sizing section is a clear numbered sequence (estimate item size, ask for memory budget, compute capacity) with an explicit measurement/validation checkpoint ('If the item size is unknown... measure it with a unit test... Guessing capacity without measuring leads to OOM'), and Common Mistakes supplies error-recovery context; this meets the clear-sequence-with-explicit-validation anchor and benefits from the simple-skill guidance.

3 / 3

Progressive Disclosure

The body is an overview that cleanly points to three real, one-level-deep reference files (algorithm-guide.md, production-patterns.md, api-reference.md — all verified present in ./references/) with well-signaled links, plus sibling-skill cross-references, matching the 'clear overview with well-signaled one-level-deep references' anchor.

3 / 3

Total

12

/

12

Passed

Description

100%

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, trigger-rich, and complete: it enumerates concrete capabilities and provides explicit, natural 'when to use' triggers anchored on the named library and its import path. Voice is appropriately third-person and it is clearly distinct from sibling caching skills.

DimensionReasoningScore

Specificity

Lists many concrete capabilities — nine named eviction algorithms (LRU, LFU, TinyLFU, W-TinyLFU, S3FIFO, ARC, TwoQueue, SIEVE, FIFO), TTL, cache loaders, sharding, stale-while-revalidate, missing key caching, and Prometheus metrics — matching the 'lists multiple specific concrete actions' anchor rather than the partial coverage of a 2.

3 / 3

Completeness

Explicitly answers both 'what' (the caching capabilities enumerated) and 'when' via an explicit 'Apply when using or adopting samber/hot, when the codebase imports github.com/samber/hot, or when the project repeatedly loads...' clause, satisfying the both-what-and-when-with-explicit-triggers anchor.

3 / 3

Trigger Term Quality

Includes natural terms a developer would actually say — 'In-memory caching in Golang', 'samber/hot', 'github.com/samber/hot', 'latency', 'backend pressure' — plus concrete import-path and adoption triggers, giving good coverage rather than the jargon-only or partial-variation anchors below.

3 / 3

Distinctiveness Conflict Risk

Tightly bound to the specific samber/hot library with a distinct import-path trigger, giving a clear niche that is unlikely to fire for unrelated caching skills; not the generic or merely-somewhat-specific anchors at 1-2.

3 / 3

Total

12

/

12

Passed

Validation

81%

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

Validation13 / 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

relative_links

Relative link issues: 2 missing

Warning

Total

13

/

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.