概要
This skill provides specialized guidance for implementing robust authentication systems in Nuxt 4+ projects via the @onmax/nuxt-better-auth module. It offers deep expertise in setting up client-side sessions with useUserSession, securing server-side API routes, configuring complex route protection rules, and integrating advanced features like Passkeys, 2FA, and administrative roles. It is particularly useful for developers leveraging NuxtHub for database management and seeking a streamlined, type-safe authentication workflow within the Nuxt ecosystem.