CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

building-api-authentication

Build secure API authentication systems with OAuth2, JWT, API keys, and session management. Use when implementing secure authentication flows. Trigger with phrases like "build authentication", "add API auth", or "secure the API".

Quality

82%

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

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, information-dense instruction body with concrete parameters throughout and a clean reference structure. The main gaps are the absence of any executable code in the body itself, a padded Resources section, missing mid-workflow validation checkpoints, and an implementation reference whose content does not match what the body promises.

Suggestions

Add a short copy-paste-ready snippet for the most common case (e.g., JWT signing/verification or Bearer middleware) directly in SKILL.md so the primary workflow is executable without opening references/examples.md.

Trim the Resources section to links Claude could not reconstruct on its own, or move generic RFC/OWASP references into a reference file; they consume context without adding guidance.

Insert explicit validation checkpoints between build steps (e.g., after middleware is written, verify an unauthenticated request is rejected before proceeding to RBAC and OAuth layers), and make references/implementation.md actually cover authentication implementation rather than generic API scaffolding.

DimensionReasoningScore

Conciseness

The body is dense and specific (RS256/HS256, 15-minute access tokens, 30-day refresh, 5 attempts per minute, progressive lockout times) with almost no explanation of concepts Claude already knows; however, the Resources section of generic RFC 6749/7519 and OWASP links is padding Claude does not need, keeping it at anchor 4 rather than the every-token-earns-its-place anchor 5.

4 / 5

Actionability

Instructions give concrete, directly followable parameters — exact JWT claims (sub, iat, exp), exact headers (Authorization Bearer, X-API-Key), exact endpoints (POST /auth/refresh), and exact rate limits — but the body contains no executable code or commands, deferring all code to references/examples.md, matching anchor 4 (mostly executable guidance with minor gaps) rather than anchor 5's copy-paste-ready code.

4 / 5

Workflow Clarity

Nine steps form a coherent build sequence that begins with auditing the existing setup (step 1) and ends with enumerated security tests (step 9), and the Error Handling table provides recovery patterns; however, there are no mid-sequence validation checkpoints (e.g., verify middleware blocks unauthenticated requests before adding RBAC), matching anchor 4's "minor validation gaps" rather than anchor 5's explicit validate-then-proceed feedback loops.

4 / 5

Progressive Disclosure

The 87-line overview is appropriately split across three well-signaled, one-level-deep references that all exist (implementation.md, errors.md, examples.md), which is structurally anchor-5; but references/implementation.md is a generic API-building guide rather than the promised "full implementation guide" for authentication, a content-relevance gap that drops it to anchor 4.

4 / 5

Total

16

/

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 explicitly states what the skill does and when to use it, backed by concrete natural-language trigger phrases. Its only weaknesses are a single generic action verb and trigger coverage that omits common synonyms like "login" or "token auth".

DimensionReasoningScore

Specificity

"Build secure API authentication systems with OAuth2, JWT, API keys, and session management" names the domain plus four concrete mechanisms, which goes beyond the 1-2 actions of anchor 3; however, it uses a single generic verb ("Build") rather than multiple distinct concrete actions (e.g., issue, validate, rotate), so it does not reach anchor 5.

4 / 5

Completeness

It clearly answers both "what" (build auth systems with OAuth2, JWT, API keys, session management) and "when" ("Use when implementing secure authentication flows") with concrete trigger phrases ("build authentication", "add API auth", "secure the API"), exactly matching the anchor-5 pattern.

5 / 5

Trigger Term Quality

Explicit natural phrases "build authentication", "add API auth", or "secure the API" plus "Use when implementing secure authentication flows" give good keyword coverage, but common variations users would say such as "login", "sign-in", or "token-based auth" are missing, matching anchor 4 rather than the comprehensive synonym coverage of anchor 5.

4 / 5

Distinctiveness Conflict Risk

The OAuth2/JWT/API-key niche is mostly distinct with clearly signaled triggers, but phrases like "build authentication" could also fire for closely related non-API auth work (app login, SSH), giving minor overlap risk consistent with anchor 4 rather than the minimal conflict risk of anchor 5.

4 / 5

Total

17

/

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

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository

jeremylongshore/tons-of-skills-marketplace

Path

plugins/api-development/api-authentication-builder/skills/building-api-authentication/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.