create-auth-skill

Automates Better Auth authentication scaffolding for TypeScript/JavaScript applications.

Updated May 24, 2026
One-click install
npx skills add https://github.com/sAkuraOfficial/.agents --skill create-auth-skill-sakuraofficial
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/sAkuraOfficial/.agents/tree/main/skills/create-auth-skill
Command: npx skills add https://github.com/sAkuraOfficial/.agents --skill create-auth-skill-sakuraofficial

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold and implement authentication in TypeScript/JavaScript applications using Better Auth, enabling framework detection, database adapters, route handlers, OAuth providers, and UI pages to accelerate secure app development.

Core Features & Use Cases

  • Detects framework and project context to tailor authentication setup.
  • Configures database adapters, route handlers, and OAuth providers.
  • Creates sign-in/sign-up UI pages and optional verification flows for new or existing projects.

Quick Start

Install Better Auth and run the CLI to scaffold authentication 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 authentication to a TypeScript web app?

Add authentication to a TypeScript web app by scaffolding end-to-end auth flows using Better Auth. The process automates database adapter configuration, route handlers, OAuth providers, and UI pages for login and signup.

Can I use Better Auth to set up OAuth in an existing JavaScript project?

Yes, you can use Better Auth to set up OAuth in an existing JavaScript project. The scaffolding process detects your project context and configures OAuth providers alongside framework-agnostic configuration.

What is the best way to scaffold login and signup UI pages for a TS/JS app?

The best way to scaffold login and signup UI pages is using an automated CLI-driven generation tool. It creates sign-in and sign-up pages while configuring the necessary route handlers and database adapters.

Does Better Auth support 2FA and email verification flows?

Yes, Better Auth supports 2FA and email verification flows. These are available as optional features alongside the core authentication scaffolding, allowing you to add secure verification steps to your application.

How does framework detection work when setting up authentication in a web app?

Framework detection works by analyzing your project context to tailor the authentication setup automatically. This ensures the generated route handlers, adapters, and configuration match your specific TypeScript or JavaScript framework.

Can I configure a database adapter for authentication without manually writing route handlers?

Yes, you can configure a database adapter without manually writing route handlers. The scaffolding tool automates the creation of both database adapters and route handlers using a CLI-driven generation process.