BE

better-auth-best-practices

Support for integrating Better Auth into TypeScript projects.

Install

mkdir -p .claude/skills/better-auth-best-practices && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/883" && unzip -o skill.zip -d .claude/skills/better-auth-best-practices && rm skill.zip

Installs to .claude/skills/better-auth-best-practices

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
90 charsno explicit “when” trigger
Intermediate

Key capabilities

  • →Configure authentication strategies and plugins
  • →Generate database schemas for Prisma or Drizzle
  • →Manage session storage and cookie cache settings
  • →Implement email verification and password reset flows
  • →Apply database migrations via CLI
  • →Configure security settings like CSRF and rate limiting

How it works

The skill utilizes the Better Auth CLI and configuration options to map user models to database tables and set up session management strategies. It integrates plugins and hooks to handle authentication flows and security policies.

Inputs & outputs

You give it
Authentication configuration and database schema requirements
You get back
Configured auth.ts file and database migration scripts

When to use better-auth-best-practices

  • →Implementing user authentication
  • →Configuring OAuth providers
  • →Running database migrations for auth

About better-auth-best-practices

Provides guidance on configuring Better Auth, applying database migrations, and setting up authentication strategies for TypeScript apps.

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

When not to use it

  • →Projects not using TypeScript
  • →Authentication requirements outside the Better Auth framework

Prerequisites

BETTER_AUTH_SECRETBETTER_AUTH_URL

Limitations

  • →Requires re-running CLI after plugin changes
  • →Adapter model names must match ORM models rather than database table names

How it compares

It provides a standardized configuration path and CLI-driven schema generation compared to manual implementation of authentication logic.

Compared to similar skills

better-auth-best-practices side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
better-auth-best-practices (this skill)1810moNo flagsIntermediate
supabase-developer9511moReviewIntermediate
firebase-vertex-ai14moReviewAdvanced
azure-postgres-ts04moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

supabase-developer

daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

95185

firebase-vertex-ai

jeremylongshore

Execute firebase platform expert with Vertex AI Gemini integration for Authentication, Firestore, Storage, Functions, Hosting, and AI-powered features. Use when asked to "setup firebase", "deploy to firebase", or "integrate vertex ai with firebase". Trigger with relevant phrases based on skill purpose.

14

azure-postgres-ts

aiskillstore

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package.

00

telegram-mini-app

davila7

Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.

62163

stripe-integration

wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

48165

nodejs-best-practices

davila7

Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.

28120

Search skills

Search the agent skills registry