Use when implementing auth in Nuxt apps with @onmax/nuxt-better-auth - provides useUserSession composable, server auth helpers, route protection, and Better Auth plugins integration.
94
93%
Does it follow best practices?
Impact
94%
1.25xAverage score across 3 eval scenarios
Passed
No known issues
Module installation and config files
Correct module name
100%
100%
Server config path
0%
0%
Client config path
0%
0%
Secondary storage enabled
28%
100%
Redirect config: login
100%
100%
Redirect config: guest
100%
100%
defineServerAuth import
0%
100%
Server config uses factory fn
100%
100%
Cookie cache enabled
100%
100%
Cookie cache maxAge
100%
100%
createAppAuthClient import
0%
100%
BETTER_AUTH_SECRET documented
100%
100%
NUXT_PUBLIC_SITE_URL documented
100%
100%
Secret min length note
100%
100%
Route protection and client auth patterns
routeRules dashboard auth
100%
100%
routeRules guest page
100%
100%
routeRules public path
50%
100%
useUserSession composable
100%
100%
Safe redirect: starts with /
100%
100%
Safe redirect: blocks //
100%
100%
ready ref check
50%
50%
BetterAuthState component
0%
100%
BetterAuthState placeholder slot
0%
100%
BetterAuthState default slot
0%
100%
signOut called correctly
100%
100%
signIn.email pattern
100%
100%
Plugin setup and server-side access control
Server admin plugin import
100%
100%
Server 2FA plugin import
100%
100%
Server plugins array
100%
100%
twoFactor issuer
100%
100%
Client adminClient import
100%
100%
Client twoFactorClient import
100%
100%
Client plugins array
100%
100%
serverAuth() for sessions
100%
100%
requireUserSession admin role
75%
100%
getUserSession null pattern
100%
100%
set-role admin protection
75%
100%
Import path documentation
100%
100%
No server plugins on client
100%
100%
00fb59d
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.