
Nuxt Better Auth
Authentication guide for Nuxt apps using the Better Auth module, with a reference file for each task.
- skills.sh installs
- 2.1K
- GitHub stars
- 730
- last updated
- Aug 21, 2026
What it does
- Covers installation, client session state, server session enforcement, route protection, plugins, database setup, client-only mode, and inferred types
- Points to a specific reference file (such as
references/server-auth.md) for each task, so only the needed guidance is loaded - Enforces server-side checks with
requireUserSession(event)and restricts post-login navigation to validated local redirect paths - Designed for Nuxt developers adding or maintaining auth, with a typecheck and narrow auth test run before finishing
Install
$ npx -y skills add onmax/nuxt-skills --skill nuxt-better-auth -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
Details
- Repository
- github.com/onmax/nuxt-skills
- Categories
- Backend & APIs, Frontend & UI Code
More from onmax/nuxt-skills
All 12Similar to Nuxt Better Auth
More Backend & APIs
nextauth-authenticationmindrally/skills1.2K installsSetup guide for NextAuth.js v5 in Next.js covering providers, JWT and database sessions, and route protection.
auth-patternsdavepoon/buildwithclaude183 installsReference guide for authentication in Next.js covering NextAuth.js (Auth.js) setup, middleware-based route protection, and session handling.
better-authgiuseppe-trisciuoglio/developer-kit3.8K installsType-safe Better Auth integration guide for NestJS, Next.js App Router, and Drizzle ORM with PostgreSQL.
better-auth-best-practicesbetter-auth/skills132.6K installsComplete Better Auth setup covering server, client, database adapters, sessions, and security configuration.
nextjs-supabase-authdavila7/claude-code-templates410 installsExpert guidance for Supabase Auth in Next.js App Router, covering server, client, and middleware sessions.
create-authbetter-auth/skills29.3K installsInteractive scaffolding guide that plans and implements Better Auth in TypeScript/JavaScript apps before writing any code.