lb-better-auth-skillComplete 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.).
Install via ClawdBot CLI:
clawdbot install leonaaardob/lb-better-auth-skillComplete 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.
Generated Mar 1, 2026
A B2B SaaS company needs to implement secure authentication for its web application, supporting multiple OAuth providers like Google and GitHub for easy sign-in, along with email/password and 2FA for enhanced security. This skill provides documentation for setting up these methods and integrating with Prisma or Drizzle for database management.
An online retail store requires a robust authentication system to handle customer logins via email/password, magic links for passwordless access, and session management for cart persistence. The skill covers these features and includes guides for Next.js integration to ensure seamless frontend-backend communication.
A healthcare provider needs a secure patient portal with authentication supporting passkeys for biometric login, OAuth for integration with health platforms, and 2FA to comply with data protection regulations. The documentation includes setup for database adapters and rate limiting to prevent abuse.
An e-learning platform requires authentication for students and instructors, featuring OAuth providers like Microsoft for institutional accounts, email verification for account activation, and organization management for class-based access. The skill provides examples and API references for customization.
A fintech application needs high-security authentication with passkeys, 2FA, and session management to protect user financial data. The skill offers documentation on plugins for advanced features and integration with frameworks like SvelteKit for responsive user interfaces.
Companies charge users a recurring fee for access to software services, using this skill to implement secure authentication that supports multiple login methods and integrates with databases like Prisma for scalable user management. Revenue is generated through monthly or annual subscriptions.
Businesses offer basic authentication features for free to attract users, then monetize premium features like advanced 2FA, organization management, or custom session handling documented in this skill. Revenue comes from upgrades to paid tiers and add-on services.
Organizations develop and sell custom authentication solutions to large enterprises, leveraging this skill's documentation for OAuth setups, database adapters, and framework integrations to meet specific client needs. Revenue is generated through project-based contracts and ongoing support fees.
š¬ Integration Tip
Start by reading the installation guide and basic usage documentation to set up core authentication, then refer to specific files for OAuth providers or database adapters as needed based on your project requirements.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Expert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Use when building UI with shadcn/ui components, Tailwind CSS layouts, form patterns with react-hook-form and zod, theming, dark mode, sidebar layouts, mobile navigation, or any shadcn component question.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when building web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui ā no mockups needed. Generates bold, memorable designs from plain text requirements with anti-AI-slop aesthetics, mobile-first responsive patterns, and single-file bundling. Use when building landing pages, marketing sites, portfolios, dashboards, or any static web UI. Supports both Vite (pure static) and Next.js (Vercel deploy) workflows.
AI skill for automated UI audits. Evaluate interfaces against proven UX principles for visual hierarchy, accessibility, cognitive load, navigation, and more. Based on Making UX Decisions by Tommy Geoco.