create-auth-skill

Scaffold Better Auth authentication in TypeScript/JavaScript apps with framework detection and database adapters.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/sckroll/nextjs-mariadb-sample --skill create-auth-skill-sckroll
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/sckroll/nextjs-mariadb-sample/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/sckroll/nextjs-mariadb-sample --skill create-auth-skill-sckroll

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the complex process of integrating secure authentication into your web applications, saving developers significant time and effort.

Core Features & Use Cases

  • Framework Agnostic: Supports Next.js, SvelteKit, Express, and more.
  • Database Integration: Works with Prisma, Drizzle, and various direct database drivers.
  • Auth Methods: Handles email/password, OAuth (Google, GitHub, etc.), magic links, and passkeys.
  • Advanced Features: Includes 2FA, organizations, password reset, and email verification.
  • Use Case: A developer needs to quickly add secure user sign-up, login, and Google OAuth to a new Next.js application. This Skill will guide them through the entire setup, from configuration to UI implementation.

Quick Start

Use the create-auth-skill to add email and password authentication to a new Next.js project using Prisma and PostgreSQL.

Frequently Asked Questions about create-auth-skill

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

FAQPage Schema
Can I add Google OAuth to an existing TypeScript project?

Yes, OAuth providers like Google and GitHub can be added to existing TypeScript projects by configuring Better Auth, setting up the necessary route handlers, and generating the corresponding login UI pages.

Does Better Auth work with Drizzle and SvelteKit?

Yes, Better Auth is framework agnostic and works with SvelteKit, Express, and more, supporting database integrations through Drizzle, Prisma, and various direct database drivers.

What authentication methods can I set up with Better Auth in TypeScript?

Authentication methods include email/password, OAuth providers like Google and GitHub, magic links, and passkeys, alongside advanced features like 2FA, organizations, password reset, and email verification.

How do I automatically configure a database adapter for authentication in JavaScript apps?

Configuring a database adapter for authentication is automated by detecting the existing framework and database setup, then mapping the connection to Prisma, Drizzle, or direct database drivers.