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.

Quality

72%

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 ./skills_all/auth-implementation-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

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, mostly executable TypeScript patterns for JWT, sessions, OAuth2, and RBAC, but it is a monolithic ~630-line catalog that inlines everything the (nonexistent) bundle files were meant to hold. The biggest structural problems are dead references — the listed references/, assets/, and scripts/ files do not exist — and the absence of any sequenced decision workflow or validation checkpoint.

Suggestions

Actually create the bundle files listed in Resources (references/jwt-best-practices.md, references/oauth2-flows.md, references/session-security.md, assets/auth-security-checklist.md, assets/password-policy-template.md, scripts/token-validator.ts) or remove the Resources section — every referenced path is currently dead, which is the core progressive-disclosure failure.

Move the full TypeScript pattern implementations out of SKILL.md into those reference files, keeping only condensed pattern summaries (when to choose each, key security flags, one short exemplar snippet) in the body — this addresses both conciseness and progressive disclosure at once.

Delete the 'Core Concepts' section (AuthN vs AuthZ, session vs token basics) since Claude already knows it, and replace it with a short decision guide ('choose session-based when X, token-based when Y') plus a final 'validate against the security checklist' step to give the skill a sequenced workflow with a checkpoint.

DimensionReasoningScore

Conciseness

The ~630-line body dedicates a 'Core Concepts' section to material Claude already knows ('Authentication (AuthN): Who are you? ... Verifying identity', 'Session-Based: Server stores session state') and inlines five very long TypeScript implementations end-to-end. This matches anchor 2 ('noticeably verbose; several unnecessary explanations or padded sections') rather than 3, because the padding is not incidental — roughly half the body is basic-concept explanation or code that duplicates what the referenced bundle files are supposed to hold.

2 / 5

Actionability

The code examples are concrete, near-executable TypeScript with imports, error handling, and realistic middleware (JWT verify with TokenExpiredError handling, bcrypt with salt rounds, rate-limit config). It stops short of anchor 5 because the examples are not fully copy-paste ready: undefined helpers ('db', 'app', 'hash'), a mixed ORM-style API, and a token-in-URL redirect pattern that contradicts the skill's own 'JWT in localStorage / use httpOnly cookies' guidance.

4 / 5

Workflow Clarity

The skill is organized as a pattern catalog (authN → authZ → security) with a 'When to Use' list, but there is no sequenced implementation workflow — no 'choose a strategy, then configure sessions/tokens, then validate' flow and no decision guidance for when session-based beats token-based. There are also no validation checkpoints (e.g., 'verify the security checklist in assets/ passes before shipping'), matching anchor 3's 'sequence present but checkpoints missing' rather than 4.

3 / 5

Progressive Disclosure

The Resources section signals six bundle files (references/jwt-best-practices.md, references/oauth2-flows.md, references/session-security.md, assets/auth-security-checklist.md, assets/password-policy-template.md, scripts/token-validator.ts), but none of these files or directories exist in the bundle — every reference is dead. Combined with long-form content (full implementations of all patterns) inlined in SKILL.md that clearly belongs in those separate files, this matches anchor 2 ('content that clearly belongs in separate files is inlined'); it does not reach 3 because the one-level-deep structure exists only on paper.

2 / 5

Total

11

/

20

Passed

Description

87%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 and explicitly states both what the skill covers and when to use it, with specific, recognizable technology keywords and low conflict risk. The only weakness is that the primary action verb ('Master ... patterns') is slightly less concrete than the listed technologies, and a few natural synonyms like 'login' or 'SSO' are absent from the trigger list.

DimensionReasoningScore

Specificity

The description names concrete technologies and patterns — 'JWT, OAuth2, session management, and RBAC' — plus a concrete outcome ('build secure, scalable access control systems'). It falls short of a 5 because the leading verb 'Master ... patterns' is less of a concrete action than anchor-5 examples like 'Extract text ... fill forms, merge documents', leaving minor gaps in action specificity.

4 / 5

Completeness

It explicitly answers both questions: what ('Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems') and when ('Use when implementing auth systems, securing APIs, or debugging security issues') with concrete trigger phrases. This matches the anchor-5 good example structure precisely; there is no missing or merely implied component.

5 / 5

Trigger Term Quality

Triggers include natural phrases users would actually say: 'implementing auth systems', 'securing APIs', 'debugging security issues', plus well-known keywords 'JWT', 'OAuth2', 'RBAC'. A few common variations are missing (e.g., 'login', 'sign-in', 'SSO'), keeping it just below the comprehensive-synonym anchor of 5.

4 / 5

Distinctiveness Conflict Risk

It occupies a clear niche (auth/authz implementation) with distinct, unambiguous triggers — JWT, OAuth2, RBAC, session management — that would not naturally fire a different skill. Not a 4 because there is no meaningful overlap risk with adjacent skills; the domain terms are sharply bounded.

5 / 5

Total

18

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

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

Warning

referenced_paths_exist

Referenced path issues: 6 missing

Warning

Total

14

/

16

Passed

Repository

Microck/ordinary-claude-skills

Path

skills_all/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.