CtrlK
BlogDocsLog inGet started
Tessl Logo

auth0-angular

Use when adding authentication to Angular applications with route guards and HTTP interceptors - integrates @auth0/auth0-angular SDK for SPAs

Install with Tessl CLI

npx tessl i github:auth0/agent-skills --skill auth0-angular
What are skills?

82

1.07x

Does it follow best practices?

Evaluation100%

1.07x

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

Add Authentication to TravelBook Angular App

Standalone Angular auth setup

Criteria
Without context
With context

Correct SDK package

100%

100%

provideAuth0 usage

100%

100%

Credentials in environment file

100%

100%

authorizationParams.redirect_uri

100%

100%

loginWithRedirect method

100%

100%

logout with returnTo

100%

100%

isLoading$ for initialization

100%

100%

isAuthenticated$ for auth check

100%

100%

user$ for profile data

100%

100%

No manual token storage

100%

100%

Without context: $0.3657 · 1m 32s · 20 turns · 25 in / 5,317 out tokens

With context: $0.6461 · 1m 54s · 29 turns · 2,917 in / 6,260 out tokens

100%

19%

Secure the FinDash Analytics Dashboard

Route guards and HTTP interceptor

Criteria
Without context
With context

Guard uses inject(AuthService)

20%

100%

Guard checks isAuthenticated$

20%

100%

Guard redirects to login

70%

100%

canActivate applied to routes

100%

100%

authHttpInterceptorFn used

100%

100%

withInterceptors wires interceptor

100%

100%

allowedList configured

100%

100%

audience in authorizationParams

100%

100%

HttpClient used in service

100%

100%

No manual token attachment in service

100%

100%

Without context: $0.4176 · 1m 33s · 24 turns · 31 in / 5,518 out tokens

With context: $0.7198 · 2m · 31 turns · 4,308 in / 7,042 out tokens

100%

Write Unit Tests for Auth-Aware Angular Components

AuthService mocking in unit tests

Criteria
Without context
With context

isAuthenticated$ as observable

100%

100%

user$ as observable

100%

100%

error$ as observable

100%

100%

loginWithRedirect spy

100%

100%

logout spy

100%

100%

getAccessTokenSilently spy

100%

100%

Mock provided via TestBed

100%

100%

No real AuthService in tests

100%

100%

error$ subscribed in component

100%

100%

Spy call verified in test

100%

100%

Without context: $0.9874 · 6m 22s · 44 turns · 51 in / 13,534 out tokens

With context: $0.8650 · 2m 59s · 30 turns · 280 in / 12,136 out tokens

Evaluated
Agent
Claude Code
Model
Unknown

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.