Nuxt better auth

From onmax/nuxt-skills · View interactive version

Nuxt better auth is an AI agent skill from the GitHub repository onmax/nuxt-skills. 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.

How to use this skill

Skill file

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

Before finishing an implementation, run the consumer's typecheck and the narrowest relevant auth test.

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.