{"enrichment":{"faq":[{"a":"better-auth is a production-ready authentication framework for TypeScript applications. It supports Next.js, Nuxt, Cloudflare Workers, and 15+ other frameworks. The framework handles email/password login, OAuth providers, two-factor authentication, passkeys, and role-based access control with built-in adapters for D1, PostgreSQL, MongoDB, and MySQL. You can deploy in minutes using its CLI, migrations, and pre-built plugins for organizations, SSO, and API keys.","q":"What is better-auth and which frameworks does it support?"},{"a":"better-auth makes adding authentication to a Next.js app straightforward. The framework provides a CLI for quick setup, pre-configured adapters for your database, and built-in session management. You can choose email/password authentication, OAuth social login providers, or both. better-auth handles the server-side logic and client-side integration, allowing you to deploy authentication in minutes without complex configuration.","q":"How do I add auth to a Next.js app with better-auth?"},{"a":"Yes, better-auth includes a built-in D1 adapter for Cloudflare Workers environments. The framework supports D1 database authentication alongside PostgreSQL, MongoDB, and MySQL. You can set up better-auth with D1 using the CLI and migrations, making it ideal for serverless deployments on Cloudflare's infrastructure.","q":"Can better-auth work with Cloudflare D1 database setup?"},{"a":"better-auth supports advanced features including two-factor authentication (2FA), passkeys with WebAuthn, multi-tenant organizations, role-based access control (RBAC), magic links, email verification, API key authentication, and SSO/SAML/OIDC setup. These features are available through pre-built plugins and can be integrated into your application to meet enterprise security requirements.","q":"What advanced authentication features does better-auth provide?"},{"a":"better-auth provides built-in support for OAuth and social login providers. The framework simplifies provider configuration through its plugin system and CLI setup. You can enable multiple social login options alongside traditional email/password authentication, with better-auth handling token management, user creation, and session establishment automatically.","q":"How do I implement OAuth and social login with better-auth?"},{"a":"If you encounter a D1 adapter error in better-auth, verify that your D1 database is properly configured and migrations have run. Check that the D1 adapter is correctly imported and initialized in your authentication setup. Review the better-auth migration guide and ensure your Cloudflare Workers environment has the necessary D1 bindings configured. The framework's error messages typically indicate missing configuration or adapter initialization issues.","q":"What should I do if I encounter a D1 adapter error in better-auth?"}],"shadow_tags":["auth-framework","typescript-first","self-hosted-auth","multi-provider","session-based","oauth-integration","database-agnostic","enterprise-ready","developer-friendly","edge-compatible"],"summary_rewrite":"better-auth is a production-ready authentication framework for TypeScript applications, supporting Next.js, Nuxt, Cloudflare Workers, and 15+ other frameworks. It handles email/password login, OAuth providers, two-factor authentication, passkeys, and role-based access control with built-in D1, PostgreSQL, MongoDB, and MySQL adapters. Deploy in minutes with a CLI, migrations, and pre-built plugins for organizations, SSO, and API keys."},"files":[{"bytes":29939,"path":"plugins/better-auth/skills/better-auth/SKILL.md","sha256":"7ea9a2f3467c8238ca68a2bc1b69bcfbab20f0aeedd9e3b9a489bf043618b929","url":"https://skillfed.io/files/secondsky/claude-skills/better-auth/e78d04ff/SKILL.md"}],"id":"secondsky/claude-skills/better-auth","links":{"html":"https://skillfed.io/secondsky/claude-skills/better-auth","md":"https://skillfed.io/secondsky/claude-skills/better-auth.md","repo":"https://github.com/secondsky/claude-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":29,"language":"TypeScript","last_updated":"2026-07-25","license":"MIT","name":"better-auth","publisher":"secondsky","stars":196},"relations":{"similar":[{"id":"oakoss/agent-skills/better-auth"},{"id":"better-auth/skills/create-auth"},{"id":"giuseppe-trisciuoglio/developer-kit/better-auth"},{"id":"better-auth/skills/best-practices"},{"id":"samhvw8/dot-claude/better-auth"},{"id":"binjuhor/shadcn-lar/better-auth"},{"id":"mrgoonie/claudekit-skills/better-auth"},{"id":"jezweb/claude-skills/tanstack-start"},{"id":"andrelandgraf/fullstackrecipes/better-auth-best-practices"},{"id":"bilalmk/todo_correct/configuring-better-auth"}]},"slug":{"owner":"secondsky","repo":"claude-skills","skill":"better-auth"},"version":"e78d04ff"}
