← 返回 Skills 市场
leonaaardob

Batter Auth Complete Documentation

作者 leonaaardob · GitHub ↗ · v1.4.18
cross-platform ✓ 安全检测通过
1604
总下载
1
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install lb-better-auth-skill
功能描述
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.).
使用说明 (SKILL.md)

Better Auth Documentation

Complete Better Auth documentation embedded in markdown. Read from references/ to answer questions about authentication implementation, OAuth setup, database configuration, and framework integration.

Documentation Structure

All documentation is in references/ organized by topic:

Core Documentation

Getting Started

  • references/introduction.mdx - What is Better Auth
  • references/installation.mdx - Setup guide
  • references/basic-usage.mdx - Authentication basics
  • references/comparison.mdx - vs other auth libraries

Authentication Methods (references/authentication/)

OAuth providers and authentication strategies:

  • google.mdx - Google OAuth
  • github.mdx - GitHub OAuth
  • microsoft.mdx - Microsoft/Azure AD
  • apple.mdx - Apple Sign In
  • discord.mdx, facebook.mdx, twitter.mdx, etc.
  • email-password.mdx - Email & password auth
  • magic-link.mdx - Passwordless magic links
  • passkey.mdx - WebAuthn passkeys

Database Adapters (references/adapters/)

  • prisma.mdx - Prisma ORM
  • drizzle.mdx - Drizzle ORM
  • kysely.mdx - Kysely
  • mongodb.mdx - MongoDB
  • pg.mdx - node-postgres

Concepts (references/concepts/)

Core authentication concepts:

  • session.mdx - Session management
  • oauth.mdx - OAuth flow
  • database.mdx - Database schema
  • rate-limit.mdx - Rate limiting
  • middleware.mdx - Auth middleware
  • cookies.mdx - Cookie handling

Plugins (references/plugins/)

Extension features:

  • two-factor.mdx - 2FA/TOTP
  • passkey.mdx - WebAuthn/passkeys
  • email-verification.mdx - Email verification
  • magic-link.mdx - Magic link auth
  • organization.mdx - Organizations & teams
  • multi-session.mdx - Multiple sessions
  • anonymous.mdx - Anonymous users

Integrations (references/integrations/)

Framework-specific guides:

  • next-js.mdx - Next.js integration
  • sveltekit.mdx - SvelteKit
  • astro.mdx - Astro
  • solid-start.mdx - SolidStart

Examples (references/examples/)

Working examples:

  • next-js.mdx - Complete Next.js example
  • sveltekit.mdx - SvelteKit example

Guides (references/guides/)

How-to guides:

  • custom-session.mdx - Custom session handling
  • testing.mdx - Testing auth flows
  • deployment.mdx - Production deployment

API Reference (references/reference/)

Complete API documentation.

Quick Reference

Common Tasks

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

When to Use This Skill

  • Implementing authentication in a TypeScript project
  • Setting up OAuth providers (Google, GitHub, Microsoft, etc.)
  • Configuring database adapters (Prisma, Drizzle, etc.)
  • Adding 2FA, passkeys, or magic links
  • Managing sessions and cookies
  • Integrating with Next.js, SvelteKit, or other frameworks
  • Questions about auth patterns and best practices

How to Navigate

  1. Start with references/introduction.mdx for overview
  2. For setup: Read references/installation.mdx
  3. For auth methods: Browse references/authentication/
  4. For database: Check references/adapters/
  5. For advanced features: See references/plugins/
  6. For framework integration: Use references/integrations/

All files are .mdx (Markdown + JSX) but readable as plain markdown.

安全使用建议
This skill is a packaged copy of Better Auth documentation and is internally coherent. Before installing or using it, consider: 1) Source trust: the skill's source/homepage is unknown — if you need guarantees, prefer obtaining docs from the official project repo or website. 2) External commands/URLs in the docs: some examples call npx, CLI commands, or reference remote MCP/telemetry endpoints — do not run those commands or enable telemetry unless you trust the upstream project and understand the network interactions. 3) Telemetry: the docs describe an optional telemetry feature — ensure you do not enable telemetry or paste secrets when testing. If you require higher assurance, ask the publisher for the original upstream repository URL or a signed provenance record.
功能分析
Type: OpenClaw Skill Name: lb-better-auth-skill Version: 1.4.18 The OpenClaw AgentSkills skill bundle 'lb-better-auth-skill' is documentation for an authentication library. All files (`_meta.json`, `SKILL.md`, `README.md`, and all files in `references/`) are either metadata or markdown documentation. The `SKILL.md` instructs the AI agent to 'Read from `references/` to answer questions', which is a benign instruction. While the documentation covers various security-related configurations and mentions potential 'security risks' or 'security warnings' for certain settings (e.g., `disableCSRFCheck`, `disableKeyHashing`), these are educational warnings for users implementing the library, not malicious actions within the skill itself. There is no evidence of intentional harmful behavior, data exfiltration, malicious execution, persistence, or prompt injection against the agent.
能力评估
Purpose & Capability
The skill's name/description (Better Auth documentation) matches what is packaged: a large set of markdown/mdx reference files under references/. It does not request unrelated binaries, credentials, or config paths. (Minor nit: the top-level name includes the typo "Batter" but the SKILL.md and files are clearly for "better-auth".)
Instruction Scope
SKILL.md explicitly instructs the agent to read files under references/ and answer questions about authentication implementation. It does not instruct the agent to read other system files, access environment variables, or transmit data externally. The documentation does include examples that reference running npx/CLI commands and external URLs (e.g., GitHub, better-auth.com, an MCP URL), but those are parts of the docs and not instructions for the agent to exfiltrate data. Be aware that following those example commands as a user will perform network actions.
Install Mechanism
No install spec and no code files to execute — this is instruction-only, which is the lowest-risk install posture. Nothing is downloaded or written by the skill itself.
Credentials
The skill declares no required environment variables, no primary credential, and no config paths. The documented examples mention typical env vars used by Better Auth (e.g., GITHUB_CLIENT_ID) but those are part of the referenced documentation and not required by the skill itself.
Persistence & Privilege
The skill is not force-included (always:false) and does not request persistent privileges. Autonomous invocation (disable-model-invocation:false) is platform default and acceptable here; combined with the other factors there is no elevated privilege concern.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lb-better-auth-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lb-better-auth-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.4.18
- Initial release of the better-auth skill, providing comprehensive Better Auth documentation in markdown format. - Covers installation, authentication methods (OAuth, email/password, passkeys, magic links, 2FA), session management, database adapters (Prisma, Drizzle, etc.), and framework integrations (Next.js, SvelteKit, etc.). - Includes quick-reference tables and clear navigation for common authentication and integration tasks. - Documentation is organized by topic (introduction, authentication, adapters, concepts, plugins, integrations, examples, guides, and reference).
元数据
Slug lb-better-auth-skill
版本 1.4.18
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

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.). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1604 次。

如何安装 Batter Auth Complete Documentation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lb-better-auth-skill」即可一键安装,无需额外配置。

Batter Auth Complete Documentation 是免费的吗?

是的,Batter Auth Complete Documentation 完全免费(开源免费),可自由下载、安装和使用。

Batter Auth Complete Documentation 支持哪些平台?

Batter Auth Complete Documentation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Batter Auth Complete Documentation?

由 leonaaardob(@leonaaardob)开发并维护,当前版本 v1.4.18。

💬 留言讨论