CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

oauth2-oidc-implementer

The guide covers authorization flows, PKCE, OIDC discovery and token validation, session management, token refresh, and multiple identity providers. It includes Next.js and TypeScript examples, security recommendations, and an implementation checklist.

Quality

75%

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/oauth2-oidc-implementer/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

57%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 extensive, mostly executable Next.js/TypeScript implementations spanning PKCE, OIDC discovery/validation, sessions, refresh, and multi-provider setup, with a useful best-practices list and output checklist. However, it is a ~570-line monolith that inlines material Claude largely already knows, its top-level workflow is high-level without embedded validation checkpoints, and several code files reference undefined imports/types, keeping it from copy-paste readiness.

Suggestions

Conciseness/progressive disclosure: move the multiple-providers registry, Client Credentials implementation, and session/refresh code into references/ files (e.g., providers.md, session.md), keeping SKILL.md to flow selection guidance plus the core PKCE + callback flow with one-line pointers — Claude already knows standard provider endpoints and OAuth/OIDC mechanics.

Workflow clarity: expand the Core Workflow steps into concrete sequenced actions with explicit validation checkpoints (e.g., 'verify state matches cookie before token exchange', 'validate ID token signature, iss, and aud before creating a session', 'confirm session cookie set before redirect') instead of one-line labels.

Actionability: resolve the cross-file gaps so code is copy-paste runnable — add missing imports in session.ts (config, verifyIdToken, TokenResponse), define OAuthError and UserProfile, and include the logout implementation promised in the Output Checklist.

DimensionReasoningScore

Conciseness

Prose is lean (no concept-explaining padding), but the ~570-line body inlines much that Claude already knows — full Google/GitHub/Microsoft endpoint URLs, an ASCII flow table, and a complete Client Credentials implementation — so it 'could be tightened' considerably, matching the 3 anchor. It is above the 2 anchor because there are no padded explanatory sections, and below the 4/5 anchors because large stretches of inlined template code earn few tokens over Claude's existing OAuth/OIDC knowledge.

3 / 5

Actionability

The guidance is mostly executable TypeScript with real file paths, concrete configs, scopes, and cookie settings covering the common cases (PKCE auth-code flow, callback, session, refresh, multi-provider). It stops short of the 5 anchor's copy-paste-ready bar due to unresolved cross-file references: session.ts uses `config`, `verifyIdToken`, `TokenResponse`, and `refreshAccessToken` without imports, and `OAuthError`/`UserProfile` are never defined; logout is checklisted but never implemented.

4 / 5

Workflow Clarity

The 'Core Workflow' lists a clear 6-step sequence (choose flow, configure provider, implement flow, secure tokens, add providers, handle sessions) but the steps are one-line labels with no commands, and validation checkpoints exist only implicitly via the end 'Output Checklist' — matching the 3 anchor ('steps listed but validation gaps; checkpoints missing or implicit') rather than the 4 anchor's 'most checkpoints present' in the sequence itself.

3 / 5

Progressive Disclosure

The body has good section headers, but it is a monolithic single file with no bundle files and no references: content that clearly belongs in separate files (the 60-line provider registry, the Client Credentials flow, the full session/refresh implementation) is inlined, exactly matching the 3 anchor ('some structure but could be better organized; content that should be separate is inline'). It is above the 2 anchor because headers make it navigable, and below the 4 anchor because nothing is split out.

3 / 5

Total

13

/

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, a clear 'what' with several concrete capabilities, and an explicit 'Use when' clause with natural, quoted trigger phrases covering synonyms like social login and SSO. The only gaps are minor — slightly broader action specificity and one or two additional natural trigger variations would make it fully comprehensive.

DimensionReasoningScore

Specificity

"Implements OAuth 2.0 and OpenID Connect authentication flows with secure token handling and provider integration" names the domain plus several concrete action areas (flow implementation, token handling, provider integration). It falls short of the 5 anchor's comprehensive coverage because sessions, ID token validation, and specific flows (PKCE, client credentials) are not named, and it is clearly above the 3 anchor's '1-2 concrete actions'.

4 / 5

Completeness

It explicitly answers both questions: the 'what' ("Implements OAuth 2.0 and OpenID Connect authentication flows with secure token handling and provider integration") and an explicit 'when' with concrete quoted trigger phrases ("Use when users request 'OAuth setup', 'OIDC implementation', 'social login', 'SSO integration', or 'authentication flow'"). This mirrors the 5 anchor's exemplar structure; the 4 anchor applies only when the 'when' clause is less explicit, which is not the case here.

5 / 5

Trigger Term Quality

"OAuth setup", "OIDC implementation", "social login", "SSO integration", "authentication flow" are phrases users would naturally say, with good synonym coverage (social login / SO / OIDC). A few natural variations are missing (e.g., "sign in with Google", "login provider"), which matches the 4 anchor ('good keyword coverage; a few natural terms missing') rather than the 5 anchor's comprehensive coverage.

4 / 5

Distinctiveness Conflict Risk

OAuth 2.0/OIDC implementation is a clear niche with distinct triggers ("OAuth setup", "OIDC implementation", "social login"), but the broad trigger "authentication flow" and generic "provider integration" leave minor overlap risk with closely related skills (e.g., generic auth/JWT/session skills), matching the 4 anchor rather than the 5 anchor's minimal conflict risk.

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 (571 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/oauth2-oidc-implementer/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.