Complete Better Auth documentation in markdown format. Use when implementing authentication in TypeScript projects - covers OAuth providers (Google, GitHub, etc.), email/password, passkeys, 2FA, session management, database adapters (Prisma, Drizzle), and framework integrations (Next.js, SvelteKit, etc.).
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install lb-better-auth-skill或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install lb-better-auth-skill⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/lb-better-auth-skill/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: better-auth description: Complete Better Auth documentation in markdown format. Use when implementing authentication in TypeScript projects - covers OAuth providers (Google, GitHub, etc.), email/password, passkeys, 2FA, session management, database adapters (Prisma, Drizzle), and framework integrations (Next.js, SvelteKit, etc.). ---
Complete Better Auth documentation embedded in markdown. Read from references/ to answer questions about authentication implementation, OAuth setup, database configuration, and framework integration.
All documentation is in references/ organized by topic:
references/introduction.mdx - What is Better Authreferences/installation.mdx - Setup guidereferences/basic-usage.mdx - Authentication basicsreferences/comparison.mdx - vs other auth librariesreferences/authentication/)OAuth providers and authentication strategies:
google.mdx - Google OAuthgithub.mdx - GitHub OAuthmicrosoft.mdx - Microsoft/Azure ADapple.mdx - Apple Sign Indiscord.mdx, facebook.mdx, twitter.mdx, etc.email-password.mdx - Email & password authmagic-link.mdx - Passwordless magic linkspasskey.mdx - WebAuthn passkeysreferences/adapters/)prisma.mdx - Prisma ORMdrizzle.mdx - Drizzle ORMkysely.mdx - Kyselymongodb.mdx - MongoDBpg.mdx - node-postgresreferences/concepts/)Core authentication concepts:
session.mdx - Session managementoauth.mdx - OAuth flowdatabase.mdx - Database schemarate-limit.mdx - Rate limitingmiddleware.mdx - Auth middlewarecookies.mdx - Cookie handlingreferences/plugins/)Extension features:
two-factor.mdx - 2FA/TOTPpasskey.mdx - WebAuthn/passkeysemail-verification.mdx - Email verificationmagic-link.mdx - Magic link authorganization.mdx - Organizations & teamsmulti-session.mdx - Multiple sessionsanonymous.mdx - Anonymous usersreferences/integrations/)Framework-specific guides:
next-js.mdx - Next.js integrationsveltekit.mdx - SvelteKitastro.mdx - Astrosolid-start.mdx - SolidStartreferences/examples/)Working examples:
next-js.mdx - Complete Next.js examplesveltekit.mdx - SvelteKit examplereferences/guides/)How-to guides:
custom-session.mdx - Custom session handlingtesting.mdx - Testing auth flowsdeployment.mdx - Production deploymentreferences/reference/)Complete API documentation.
| Task | File to Read | |------|--------------| | Initial setup | references/installation.mdx | | Email & password auth | references/authentication/email-password.mdx | | Google OAuth | references/authentication/google.mdx | | GitHub OAuth | references/authentication/github.mdx | | Setup with Prisma | references/adapters/prisma.mdx | | Setup with Drizzle | references/adapters/drizzle.mdx | | Session management | references/concepts/session.mdx | | Add 2FA | references/plugins/two-factor.mdx | | Add passkeys | references/plugins/passkey.mdx | | Next.js integration | references/integrations/next-js.mdx | | Organizations/teams | references/plugins/organization.mdx | | Rate limiting | references/concepts/rate-limit.mdx |
references/introduction.mdx for overviewreferences/installation.mdxreferences/authentication/references/adapters/references/plugins/references/integrations/All files are .mdx (Markdown + JSX) but readable as plain markdown.
安装 Batter Auth Complete Documentation 后,可以对 AI 说这些话来触发它
Help me get started with Batter Auth Complete Documentation
Explains what Batter Auth Complete Documentation does, walks through the setup, and runs a quick demo based on your current project
Use Batter Auth Complete Documentation to complete Better Auth documentation in markdown format
Invokes Batter Auth Complete Documentation with the right parameters and returns the result directly in the conversation
What can I do with Batter Auth Complete Documentation in my developer & devops workflow?
Lists the top use cases for Batter Auth Complete Documentation, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/lb-better-auth-skill/ 目录(个人级,所有项目可用),或 .claude/skills/lb-better-auth-skill/(项目级)。重启 AI 客户端后,用 /lb-better-auth-skill 主动调用,或让 AI 根据上下文自动发现并使用。
Batter Auth Complete Documentation 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Batter Auth Complete Documentation 可免费安装使用。请查阅仓库了解许可证信息。
Complete Better Auth documentation in markdown format. Use when implementing authentication in TypeScript projects - covers OAuth providers (Google, GitHub, etc.), email/password, passkeys, 2FA, session management, database adapters (Prisma, Drizzle), and framework integrations (Next.js, SvelteKit, etc.).
Automate my developer & devops tasks using Batter Auth Complete Documentation
Identifies repetitive steps in your workflow and sets up Batter Auth Complete Documentation to handle them automatically
Batter Auth Complete Documentation 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。