create-auth-skill

Automate Better Auth scaffolding and integration in TypeScript/JavaScript apps.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.

Core Features & Use Cases

  • Detects project framework and automatically pre-fills defaults for Next.js, SvelteKit, Nuxt, Astro, Express, and Hono projects.
  • Configures database adapters and auth strategies (email/password, OAuth providers, password reset, email verification) and scaffolds routes and UI.
  • Supports creation of sign-in/sign-up pages and optional admin or team features through plugins.

Quick Start

Follow the planning phase to scope the auth integration and then execute phase-2 implementation steps.

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 or JavaScript app using Better Auth?

Add authentication to a TypeScript or JavaScript app by using Better Auth to detect your project framework, configure database adapters, set up route handlers, and scaffold login and sign-up UI pages automatically.

What is the best way to scaffold auth UI and OAuth providers in a Next.js or SvelteKit project?

Scaffold auth UI and OAuth providers by scanning your Next.js or SvelteKit project to pre-fill framework defaults, configure database adapters, and automatically generate the necessary route handlers and UI components.

Does Better Auth scaffolding support frameworks like Nuxt, Astro, Express, and Hono?

Better Auth scaffolding supports Nuxt, Astro, Express, and Hono by automatically detecting the project framework and pre-filling configuration defaults to streamline the authentication integration process.

Can I set up email verification, password reset, and OAuth strategies automatically?

You can set up email verification, password reset, and OAuth strategies automatically through the planning phase, which scopes the auth integration and configures the required database adapters and environment variables.

How do I configure database adapters and environment variables for Better Auth?

Configure database adapters and environment variables for Better Auth during the planning phase, which scans your project and prepares migrations, routes, and plugin-enabled features for the implementation steps.