create-auth-skill

Scaffold Better Auth authentication flows in TypeScript/JavaScript apps with sign-in and sign-up UI.

Updated Jan 17, 2026
One-click install
npx skills add https://github.com/lDuang/mcp-skill-registry --skill create-auth-skill-lduang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/lDuang/mcp-skill-registry/tree/main/skill/create-auth
Command: npx skills add https://github.com/lDuang/mcp-skill-registry --skill create-auth-skill-lduang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Authentication setup is tedious and error-prone; this skill automates scaffolding and implements a complete auth flow for TS/JS apps using Better Auth.

Core Features & Use Cases

  • Scaffolds a complete authentication flow (sign-in, sign-up, and password reset)
  • Detects project framework and configures adapters, providers, and UI accordingly
  • Generates server/client setup, routes, and migration guidance for production
  • Use Case: Start a brand-new TS/JS project and instantly add robust authentication with OAuth and email verification

Quick Start

Create a new TS/JS project and run the skill to scaffold the auth flow with sign-in and sign-up pages.

Frequently Asked Questions about create-auth-skill

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

FAQPage Schema
How do I scaffold authentication in a TypeScript app using Better Auth?

To scaffold authentication in a TypeScript app using Better Auth, this skill automates the creation of sign-in, sign-up, and password reset flows. It configures server and client setups, generates routes, and handles database adapters for production-ready auth.

Does the auth scaffolding support adding OAuth providers and email verification?

Yes, the auth scaffolding supports adding OAuth providers and email verification. It configures OAuth integration and plugin setups during the scaffolding process, ensuring a complete authentication flow for new or existing TS/JS projects.

Can I use this to add authentication to an existing JavaScript project?

Yes, you can use this to add authentication to an existing JavaScript project. The skill detects the project framework and configures the necessary adapters, route handlers, and UI components to integrate a complete auth flow into your current codebase.

What's the best way to generate database migrations for a new auth system?

The best way to generate database migrations for a new auth system is using this skill's built-in migration generation guidance. It handles database adapter configuration and migration steps required to establish a production-ready Better Auth setup.

How does framework detection work when setting up auth UI and routes?

Framework detection works by automatically identifying your TS/JS project structure to configure the appropriate server/client patterns. It then generates the matching route handlers and creates the required sign-in and sign-up UI components for that specific framework.

Are there security checks included when implementing OAuth and password reset flows?

Yes, security checks are included when implementing OAuth and password reset flows. The skill performs security checks for a production-ready auth system alongside server and client configuration, ensuring your authentication setup is robust and secure.