CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

redis-patterns

The content shows how to configure Redis connections and implement common data and messaging patterns with ioredis. It also covers performance and reliability practices, including TTLs, pipelining, error handling, clustering, and graceful shutdown.

Quality

71%

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

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/redis-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

46%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 delivers concrete, largely executable implementations of the advertised Redis patterns, but as a monolithic ~740-line dump: most of the code restates what Claude already knows, no content is split into reference files, and destructive batch operations lack validation guidance. Actionability is the strongest dimension; conciseness and progressive disclosure are the weakest.

Suggestions

Split the six pattern implementations into one-level-deep reference files (e.g., references/caching.md, references/sessions.md, references/rate-limiting.md, references/locks.md, references/pubsub.md) and keep SKILL.md as a concise overview with clearly signaled links — this addresses both the progressive disclosure and token-cost problems.

Delete content Claude already knows: the Leaderboard wrapper over standard ZSET commands, the generic Best Practices bullet list, and routine CRUD boilerplate; retain only the non-obvious material (Lua scripts for atomic release and token buckets, stale-while-revalidate, retry/TLS/cluster connection config).

Add validation safeguards for the destructive batch operations: replace the KEYS-based deletePattern with SCAN plus an explicit count-before-delete confirmation, and fix the pub/sub example so the message handler dispatches to the registered instance's handler map instead of a newly constructed empty PubSub.

DimensionReasoningScore

Conciseness

The ~740-line body inlines six full class implementations, most of which are standard textbook code Claude already knows (Cache get/set/delete CRUD, SessionStore CRUD, a Leaderboard class that is a thin wrapper over zadd/zrevrange/zincrby) plus an eight-bullet Best Practices section of one-line truisms ("Connection pooling: Reuse connections", "TTL everywhere: Prevent memory leaks"). This is noticeably verbose with several padded sections; only a minority (Lua atomicity scripts, stale-while-revalidate, cluster/retry config) adds knowledge Claude lacks.

2 / 5

Actionability

The guidance is mostly executable copy-paste-ready TypeScript with usage examples, hitting the 'concrete code with minor gaps' anchor. It is not a 5 because of real gaps: the pub/sub example is broken (subscriber.on('message') instantiates a fresh PubSub whose handler map is empty, so registered handlers never fire), deletePattern uses the production-unsafe KEYS command, and the Express middleware references Request/Response/NextFunction without imports.

4 / 5

Workflow Clarity

The 'Core Workflow' section lists a sequence (setup connection, choose pattern, implement, handle errors, monitor, optimize) but the steps are generic one-liners with no commands or checkpoints, and no validation/verification exists anywhere. The batch-destructive operations (deletePattern, destroyAllForUser) lack any feedback loop, which caps this score at 3 per the rubric; the closing Output Checklist partially offsets the absence of explicit steps, keeping it at rather than below the cap.

3 / 5

Progressive Disclosure

There are no references/, scripts/, or assets/ files at all — six complete implementations (~700 lines of code) are inlined in a single monolithic SKILL.md that clearly belongs in separate per-pattern reference files. Section headers provide some navigation, but the dominant trait is 'content that clearly belongs in separate files is inlined', matching anchor 2; it does not reach anchor 3 because even that anchor expects at least some references to be present.

2 / 5

Total

11

/

20

Passed

Description

83%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: third-person voice, explicit what-and-when structure, and natural quoted trigger phrases covering the main pattern areas. The only gaps are the unlisted leaderboard pattern and a couple of generic trigger terms that could overlap with non-Redis skills.

DimensionReasoningScore

Specificity

"Implements Redis patterns for caching, sessions, rate limiting, pub/sub, and distributed locks" names five concrete capability areas, matching the 'several specific actions; minor gaps in coverage' anchor. It is not a 5 because the body also implements a leaderboard pattern that the description omits, so coverage is not comprehensive.

4 / 5

Completeness

It explicitly answers both questions: the "what" ("Implements Redis patterns for caching, sessions, rate limiting, pub/sub, and distributed locks with best practices") and the "when" ("Use when users request..." with five concrete quoted trigger phrases). This matches the top anchor exactly; the neighboring anchor 4 applies only when the 'when' clause is less explicit, which is not the case here.

5 / 5

Trigger Term Quality

The quoted triggers "Redis caching", "session storage", "rate limiter", "pub/sub messaging", and "distributed locks" are natural phrases users would say, giving good keyword coverage. It falls short of the comprehensive anchor because common variations like "leaderboard", "Redis" alone, or "ioredis" are missing.

4 / 5

Distinctiveness Conflict Risk

The Redis niche is clear and triggers like "Redis caching" and "distributed locks" are distinct, but "session storage" and "rate limiter" are generic enough to overlap with non-Redis session or rate-limiting skills. This is 'mostly distinct; minor overlap risk' rather than minimal conflict.

4 / 5

Total

17

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (738 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/redis-patterns/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.