CtrlK
BlogDocsLog inGet started
Tessl Logo

session-management

Implements secure session management with JWT tokens, Redis storage, refresh flows, and proper cookie configuration. Use when building authentication systems, managing user sessions, or implementing secure logout functionality.

76

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

87%

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

A well-organized, actionable skill body with lean executable code and clean sectioning. The main gap is the absence of explicit validation/verification checkpoints for destructive session operations.

Suggestions

Add a validation checkpoint to the refresh flow (e.g. verify the refresh token is still present in Redis before issuing new tokens) and retry/reject guidance on failure.

For invalidateAll and session destruction, include an explicit verify-then-act step (confirm the user/session exists before deletion) to guard against silent destructive failures.

Sequence the components as an end-to-end workflow (generate → store → set cookie → refresh → invalidate) with numbered steps so the order of operations is unambiguous.

DimensionReasoningScore

Conciseness

The body is lean — section headers plus executable code with no padding explaining what JWT or Redis is; every token earns its place.

3 / 3

Actionability

Provides fully executable JavaScript for token generation, a SessionStore class, cookie config, and a refresh endpoint — copy-paste ready with specific options.

3 / 3

Workflow Clarity

Sections are organized and the refresh flow has try/catch handling, but there is no explicit validate→fix→retry checkpoint sequence for destructive/batch operations (e.g. invalidateAll, token rotation), capping this at 2 per the rubric.

2 / 3

Progressive Disclosure

No bundle files exist; the single SKILL.md is cleanly sectioned (Token-Based Sessions, Redis Storage, Cookie Config, Refresh Flow, Security Requirements, Never Do) with no nested references and easy navigation.

3 / 3

Total

11

/

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.

A strong, concise description that states concrete capabilities and provides explicit, natural trigger guidance in third person. It clearly answers both what the skill does and when to use it.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — 'JWT tokens, Redis storage, refresh flows, and proper cookie configuration' — rather than vague language, matching the score-3 anchor.

3 / 3

Completeness

Explicitly answers both 'what' (implements session management with JWT/Redis/refresh/cookies) and 'when' via a clear 'Use when...' clause, satisfying the score-3 anchor.

3 / 3

Trigger Term Quality

Natural user-facing triggers are present — 'building authentication systems, managing user sessions, implementing secure logout functionality' — covering common phrasings a user would actually say.

3 / 3

Distinctiveness Conflict Risk

The JWT/Redis/session-management niche is clearly bounded and unlikely to trigger for unrelated skills; uses third-person voice ('Implements') with no voice penalty.

3 / 3

Total

12

/

12

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
secondsky/claude-skills
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.