onmax/nuxt-skills/nuxt-better-auth
Claude Code and agent skill by onmax/nuxt-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Guides authentication in Nuxt apps using @nuxtjs/better-auth. Use when installing or configuring the module, using its client or server APIs, protecting routes, refreshing sessions, or integrating Better Auth plugins.
Install
npx vskill@latest install onmax/nuxt-skills/nuxt-better-authSKILL.md
Nuxt Better Auth
Use the smallest reference that matches the task.
Pick a reference
| Task | Read | |
|---|---|---|
| Install the module, configure environment variables, or create config files | references/installation.md | |
| Read client session state, build auth forms, call plugins, or fetch auth-bound data | references/client-auth.md | |
| Read or enforce sessions in server handlers, create sessions, or refresh cached session data | references/server-auth.md | |
| Protect pages or API routes and configure redirects | references/route-protection.md | |
| Register Better Auth plugins and their client companions | references/plugins.md | |
| Configure NuxtHub, generated schema, or secondary storage | references/database.md | |
| Connect a Nuxt frontend to an external Better Auth server | references/client-only.md | |
| Use inferred auth types or add project fields | references/types.md |
Rules that apply across tasks
- Confirm the consumer's installed package version supports each API you use. The published skill may be newer than the consumer's lockfile.
- Enforce protected API reads and mutations server-side with
requireUserSession(event). Route rules and page meta also control navigation. - Navigate only to validated local redirect paths.
- In
clientOnlymode, do not use local server helpers or expect SSR session hydration. - After server-side changes to session payload fields, call
refreshSessionCookieCache(event). Wrap custom client auth endpoints that create or change the current session withrunWithSessionRefresh().
Before finishing an implementation, run the consumer's typecheck and the narrowest relevant auth test.
Resources
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationWarning, 65 of 100Marginal. 1 run. Evaluated 7 months ago.
Source
- SKILL.md in the repositoryCheckingskills/nuxt-better-auth/SKILL.md
Popularity
- Repository stars
- 605
- Repository forks
- 25
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/onmax/nuxt-skills/nuxt-better-auth)