lb-better-auth-skill
leonaaardob 作
Web & Frontend Development概要
Complete Better Auth documentation in markdown format.
説明
このスキルでできること
Better Auth documentation embedded as a skill, covering the full Better Auth TypeScript authentication library. Includes OAuth providers, email/password, passkeys, 2FA, session management, database adapters, and framework integrations. Agents can answer implementation questions by reading from structured reference files.
Having the full Better Auth docs embedded means agents can answer implementation questions without fetching external docs or hallucinating API details.
使いどころ
- Setting up Google or GitHub OAuth in a Next.js app
- Adding 2FA with TOTP to an existing TypeScript project
- Configuring Prisma or Drizzle as the auth database adapter
- Implementing passwordless login with magic links or passkeys
- Integrating session management and rate limiting in SvelteKit
ワークフロー例
User asks: How do I set up GitHub OAuth with Prisma in Next.js?
- 1
Read references/authentication/github.mdx for OAuth configuration steps
- 2
Read references/adapters/prisma.mdx for database adapter setup
- 3
Read references/integrations/next-js.mdx for framework-specific wiring
- 4
Combine the three guides into a unified implementation plan
Step-by-step code showing GitHub OAuth configured with a Prisma adapter and mounted in a Next.js route handler
インストール
clawhub install leonaaardob/lb-better-auth-skillCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。