CtrlK
BlogDocsLog inGet started
Tessl Logo

nuxt-better-auth

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.

Install with Tessl CLI

npx tessl i github:popey/nuxt-skills --skill nuxt-better-auth
What are skills?

94

1.25x

Does it follow best practices?

Evaluation94%

1.25x

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

86%

25%

Set Up Authentication for a Nuxt 4 App

Module installation and config files

Criteria
Without context
With context

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%

Without context: $0.8969 · 4m 31s · 35 turns · 842 in / 7,644 out tokens

With context: $0.4026 · 1m 3s · 20 turns · 20 in / 3,259 out tokens

96%

28%

Implement Protected Dashboard with Login Flow

Route protection and client auth patterns

Criteria
Without context
With context

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%

Without context: $0.8573 · 3m 57s · 25 turns · 24 in / 6,635 out tokens

With context: $0.6773 · 1m 37s · 32 turns · 80 in / 5,951 out tokens

100%

4%

Add Admin Role Management and Two-Factor Authentication

Plugin setup and server-side access control

Criteria
Without context
With context

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%

Without context: $1.3463 · 4m 16s · 59 turns · 627 in / 14,187 out tokens

With context: $0.2828 · 47s · 17 turns · 45 in / 2,908 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.