Use when implementing Auth0 authentication in Nuxt 3/4 applications, configuring session management, protecting routes with middleware, or integrating API access tokens - provides setup patterns, composable usage, and security best practices for the @auth0/auth0-nuxt SDK
100
Does it follow best practices?
Evaluation — 100%
↑ 2.56xAgent success when using this skill
Validation for skill structure
SDK setup and configuration
Correct package name
0%
100%
NUXT_AUTH0 env var prefix
0%
100%
runtimeConfig.auth0 structure
0%
100%
Session secret env var
0%
100%
openssl secret generation
40%
100%
Regular Web Application type
100%
100%
Callback URL instruction
100%
100%
Built-in routes not reimplemented
100%
100%
appBaseUrl env var
0%
100%
Module in modules array
0%
100%
Without context: $0.3389 · 1m 20s · 20 turns · 27 in / 4,438 out tokens
With context: $0.4075 · 1m 24s · 23 turns · 28 in / 4,267 out tokens
Server-side route protection
Server middleware uses getSession()
14%
100%
Server middleware redirects to /auth/login
0%
100%
Server middleware scopes to /dashboard
100%
100%
Client middleware uses useUser()
0%
100%
Client middleware redirects with returnTo
0%
100%
Dashboard page applies middleware
100%
100%
API uses getSession() not useUser()
50%
100%
API throws 401 error
100%
100%
Both protection layers present
100%
100%
useAuth0 called with event
0%
100%
Without context: $0.4535 · 1m 47s · 25 turns · 31 in / 6,384 out tokens
With context: $0.7049 · 1m 31s · 27 turns · 4,416 in / 5,014 out tokens
Custom Redis session store
SessionStore interface implemented
50%
100%
Correct type imports
0%
100%
useStorage for Redis
66%
100%
Storage typed as Storage<StateData>
0%
100%
get() maps null to undefined
0%
100%
deleteByLogoutToken uses claims.sid
0%
100%
Factory function exported as default
100%
100%
sessionStoreFactoryPath in module config
0%
100%
Nitro Redis storage config
60%
100%
No direct Redis client
100%
100%
Without context: $0.3720 · 1m 49s · 17 turns · 21 in / 6,392 out tokens
With context: $0.4315 · 1m · 19 turns · 21 in / 3,138 out tokens
Table of Contents
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.