create-auth-skill

Scaffold Better Auth authentication in TypeScript/JavaScript apps with framework-specific configuration.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/pohlai88/afenda-vite-react --skill create-auth-skill-pohlai88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/pohlai88/afenda-vite-react/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/pohlai88/afenda-vite-react --skill create-auth-skill-pohlai88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds and implements authentication in TypeScript/JavaScript apps using Better Auth, accelerating secure login flows and reducing integration complexity.

Core Features & Use Cases

  • Auto-detects project framework and database adapters to generate tailored auth scaffolding.
  • Creates server-side config, route handlers, and client utilities to enable sign-in, sign-up, and password reset.
  • Use cases include adding auth to new projects or migrating existing apps to Better Auth with minimal friction.

Quick Start

Run the Better Auth CLI to scaffold a complete authentication setup for your project.

Frequently Asked Questions about create-auth-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Better Auth to an existing TypeScript app?

This skill scaffolds authentication in TypeScript apps by generating server-side config, route handlers, and client utilities using Better Auth. It auto-detects your framework and database adapters to tailor the setup for existing projects.

Can I scaffold auth for Next.js and Express using Better Auth?

Yes, you can scaffold authentication for Next.js and Express using Better Auth. The skill tailors configuration and generates route handlers specifically for these common frameworks to enable secure login flows.

What is the best way to set up secure login flows in JavaScript?

The best way to set up secure login flows in JavaScript is using a scaffolding tool that generates configuration and route handlers. This skill uses Better Auth to deliver planning prompts, adapters, and plugin hooks for end-to-end setup.

Does Better Auth scaffolding include password reset functionality?

Yes, Better Auth scaffolding includes password reset functionality. The generated client utilities and route handlers enable sign-in, sign-up, and password reset out of the box to accelerate secure login flows.

Do I need to manually configure database adapters for Better Auth?

No, you do not need to manually configure database adapters. The skill auto-detects your project framework and database adapters to generate tailored auth scaffolding automatically.

Why use Better Auth instead of other JavaScript authentication libraries?

You should use Better Auth to reduce integration complexity when adding authentication to TypeScript apps. It provides tailored scaffolding, plugin hooks, and database adapters that accelerate secure login flows compared to manual setup.