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-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。