CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

caching-strategist

This guide explains caching patterns for performance and consistency, with TypeScript examples for Redis, database-backed cache-aside access, invalidation, warming, and stampede prevention. It also provides cache correctness and implementation checklists, plus recommendations for freshness, monitoring, and graceful degradation.

Quality

85%

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

Scored by GLM 5.3

Content

75%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-organized, code-dense reference that provides copy-paste-ready patterns for all the major caching concerns. Its main weaknesses are minor correctness issues in a few examples, a redundant best-practices section, and checklists that state what to verify without how to verify it.

Suggestions

Fix the code-level correctness gaps that hurt actionability: replace redis.del(CACHE_KEYS.userPosts(userId, "*")) with a SCAN/KEYS-based pattern delete, await redis.sadd in addCacheTags, and bound or restructure the retry loop in getCachedWithLock.

Cut or merge the 'Best Practices' section — nearly every bullet restates a pattern already shown in code — to tighten conciseness.

Operationalize the 'Cache Correctness Checklist' for workflow clarity: for each item, add a one-line way to verify it (e.g., how to check hit rate in Redis INFO, how to confirm related caches were invalidated together).

DimensionReasoningScore

Conciseness

The body is lean and code-first with no explanations of concepts Claude already knows, but the 'Best Practices' section largely restates points already demonstrated in the code sections (e.g., 'Invalidate on write, not on read', 'Prevent cache stampedes').

4 / 5

Actionability

Mostly executable TypeScript covering key construction, TTL constants, cache-aside, tag-based invalidation, warming, and lock-based stampede prevention, but with minor correctness gaps: redis.del with a glob argument won't match keys (needs SCAN/KEYS), redis.sadd in addCacheTags is not awaited, and getCachedWithLock recurses unboundedly on lock contention.

4 / 5

Workflow Clarity

Sections follow a logical progression (layers, keys, TTL, patterns, invalidation, warming, stampede prevention) and two checklists provide checkpoints, but checklist items are not operationalized — there is no guidance on how to verify them or any validate-and-retry feedback loop.

4 / 5

Progressive Disclosure

A single self-contained file (~190 lines) with clear, well-organized section headers and nothing buried. It exceeds the under-50-lines simple-skill threshold and some patterns could plausibly be split out, so it falls short of the top anchor.

4 / 5

Total

16

/

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.

A strong description that clearly states concrete capabilities and includes an explicit 'Use when' clause with natural trigger phrases. Its only weaknesses are the somewhat broad 'performance optimization' trigger and a few missing natural synonyms like 'cache invalidation' or 'memoization'.

DimensionReasoningScore

Specificity

The description enumerates concrete capabilities ('cache keys, TTL values, invalidation triggers, consistency patterns, and correctness checklist') plus concrete deliverables ('code examples for Redis, CDN, and application-level caching'), matching the comprehensive multi-action anchor.

5 / 5

Completeness

It clearly answers both 'what' (defines strategies with keys, TTLs, invalidation, consistency patterns, checklist) and 'when' (explicit 'Use when implementing...' clause with concrete trigger phrases), matching the top anchor.

5 / 5

Trigger Term Quality

Triggers 'caching', 'performance optimization', 'cache strategy', and 'Redis caching' are natural user phrases, but common variations like 'cache invalidation', 'memoization', or 'CDN' are missing.

4 / 5

Distinctiveness Conflict Risk

The caching niche is distinct with specific triggers, but 'performance optimization' is a broad phrase that could overlap with a general performance-tuning skill, creating minor conflict risk.

4 / 5

Total

18

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/caching-strategist/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.