tool-better-auth

Community

Securely integrate Better Auth in Next.js apps.

AuthorHeyvhuang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to implementing authentication with the Better Auth framework in TypeScript/Next.js projects, ensuring secure sessions, cookies, and provider integration.

Core Features & Use Cases

  • Session management with secure cookies and configurable expiry.
  • Provider integrations including OAuth, magic links, and passkeys, plus CSRF protection and safe redirects.
  • Production guidance for middleware placement, auditability, and deployment-ready configurations.

Quick Start

Install and bootstrap by running the Better Auth CLI commands: migrate to apply schemas, generate to scaffold adapters, and then configure BETTER_AUTH_SECRET and BETTER_AUTH_URL in your environment before starting the dev server.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tool-better-auth
Download link: https://github.com/Heyvhuang/ship-faster/archive/main.zip#tool-better-auth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.