better-auth

Installation
SKILL.md

skill:better-auth - Self-Hosted TypeScript Authentication

Version: 1.0.0

Purpose

Implements self-hosted authentication for TypeScript applications using better-auth — a comprehensive, framework-agnostic auth library with 15+ plugins. This skill configures better-auth for Cloudflare Workers with Cloudflare D1 as the database, using Drizzle ORM or Kysely as the database adapter (better-auth has no direct D1 adapter).

Use this skill when:

  • Setting up self-hosted authentication in a TypeScript project
  • Building auth for Cloudflare Workers with D1 as the database
  • Configuring social authentication providers (GitHub, Google, etc.)
  • Adding 2FA/TOTP or passkey/WebAuthn support
  • Implementing organizations with role-based access control (RBAC)
  • Integrating better-auth plugins for extended functionality
Installs
2
Repository
olino3/forge
First Seen
Feb 13, 2026
better-auth — olino3/forge