CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

auth-implementation-patterns

Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.

0.96x
Quality

69%

Does it follow best practices?

Impact

96%

0.96x

1 of 3 eval scenarios. Add 2 more for a full score.

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/developer-essentials/skills/auth-implementation-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

40%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 succeeds as a lean navigation tier with a clean, verified one-level pointer to a substantial reference file, but it spends much of its token budget re-explaining basic auth concepts, offers no executable guidance beyond a few rule-of-thumb parameters, and provides no sequenced implementation workflow or validation checkpoints. It reads more as a concept summary than an implementation guide despite the skill's stated purpose.

Suggestions

Replace the 'Core Concepts' section with a brief strategy-selection guide (e.g., 'session-based for traditional server-rendered apps; JWT for stateless/horizontally scaling APIs; OAuth2/OIDC for delegated or social login') so the top tier adds decision value instead of re-explaining AuthN/AuthZ basics.

Add a short sequenced implementation workflow (choose strategy → apply the matching pattern from references/details.md → verify against the security checklist) with explicit validation checkpoints such as testing token expiry, refresh flow, and CSRF protection.

Include one small executable snippet inline (e.g., a bcrypt/argon2 hashing call or an httpOnly cookie options object) so the top-level tier is immediately actionable without opening the reference.

DimensionReasoningScore

Conciseness

Roughly a third of the body re-explains textbook concepts Claude already knows — "Authentication (AuthN): Who are you? Verifying identity (username/password, OAuth, biometrics)", "Server stores session state, Session ID in cookie", "Use HTTPS: Encrypt data in transit" — fitting 'noticeably verbose; several unnecessary explanations or padded sections'. Not 1 because the material is compact bullets rather than heavily padded prose, and the When to Use list and pitfalls carry real value.

2 / 5

Actionability

Some concrete directives exist ("Always hash with bcrypt/argon2", "15-30 minutes max", "httpOnly, secure, sameSite flags"), but the body contains no executable code, commands, or implementation steps — all executable content is deferred to references/details.md — fitting 'some concrete guidance but incomplete'. Not 4 because the inline specifics are rule-of-thumb parameters rather than executable guidance.

3 / 5

Workflow Clarity

There is no sequenced implementation workflow: only a rough two-stage progression (overview → "Read that file when the navigation tier above is insufficient"), no guidance for choosing among the three strategies, and no validation checkpoints ("Log Security Events" is a practice, not a verify step), fitting 'rough sequence present but many gaps; validation absent'. Not 1 because the content itself is coherent and navigation to detailed patterns is explicit.

2 / 5

Progressive Disclosure

The body is an overview that delegates the bulk of detailed content to a single, clearly signaled, one-level-deep reference ("Detailed pattern documentation lives in `references/details.md`. Read that file..."), and that file exists with the promised worked patterns, fitting 'good structure; most content is appropriately placed'. Not 5 because the pointer does not enumerate what the reference covers (JWT, sessions, OAuth2, RBAC sections) and the inlined Core Concepts material overlaps with it.

4 / 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 that clearly states both capabilities and explicit trigger conditions, with specific named technologies (JWT, OAuth2, session management, RBAC) and natural trigger phrases. Its only weaknesses are the umbrella verb 'Master... patterns' in place of distinct concrete actions, a few missing natural synonyms (login, SSO, permissions), and the slightly overlapping 'debugging security issues' trigger.

DimensionReasoningScore

Specificity

Enumerates several concrete capability areas — "including JWT, OAuth2, session management, and RBAC" — plus a concrete goal ("build secure, scalable access control systems"), matching 'lists several specific actions; minor gaps'. Not 5 because the umbrella verb 'Master... patterns' replaces a list of distinct concrete actions, and not 3 because it goes well beyond naming just 1-2 actions.

4 / 5

Completeness

Explicitly answers both questions: a clear 'what' ("Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC...") and a concrete 'when' ("Use when implementing auth systems, securing APIs, or debugging security issues"), mirroring the score-5 anchor's structure of capabilities followed by explicit trigger phrases.

5 / 5

Trigger Term Quality

"Use when implementing auth systems, securing APIs, or debugging security issues" supplies natural trigger phrases backed by named technologies (JWT, OAuth2, RBAC), matching 'good keyword coverage; a few natural terms missing'. Not 5 because common user synonyms like 'login', 'SSO', 'tokens', or 'permissions' are absent.

4 / 5

Distinctiveness Conflict Risk

The auth/authorization niche is distinct with domain-specific triggers (JWT, OAuth2, RBAC), but "debugging security issues" is broad enough to overlap a general security-audit or code-security skill, fitting 'mostly distinct; minor overlap risk with closely related skills'. Not 5 because that clause dilutes an otherwise tightly-scoped trigger set.

4 / 5

Total

17

/

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

wshobson/agents

Path

plugins/developer-essentials/skills/auth-implementation-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.