create-auth-skill

Adds complete authentication to .NET projects, including JWT bearer tokens, cookies, and Swagger integration.

1|Updated Oct 27, 2024
One-click install
npx skills add https://github.com/leetdavid/eslee-io --skill create-auth-skill-leetdavid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/leetdavid/eslee-io/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/leetdavid/eslee-io --skill create-auth-skill-leetdavid

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of integrating robust authentication into TypeScript/JavaScript applications, handling everything from user sign-up and login to social OAuth and advanced security features.

Core Features & Use Cases

  • Framework Agnostic: Detects and configures for various web frameworks (Next.js, SvelteKit, etc.).
  • Database Integration: Supports multiple databases and ORMs (Prisma, Drizzle, etc.).
  • Auth Methods: Enables email/password, OAuth, magic links, and Passkeys.
  • Advanced Features: Includes 2FA, organizations, password reset, and email verification.
  • Use Case: A developer needs to quickly add secure user authentication with Google Sign-In and email verification to their new Next.js portfolio website.

Quick Start

Use the create-auth-skill to add email and password authentication to a new Next.js 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 Next.js or SvelteKit app?

To add authentication to a Next.js or SvelteKit app, you can scaffold and configure it using Better Auth. The process detects your framework, sets up database adapters, configures route handlers, and generates the required auth UI pages.

Can I set up Google OAuth and social login in TypeScript?

Yes, you can set up Google OAuth and social login in TypeScript. The scaffolding configures OAuth providers, route handlers, and database adapters to enable social sign-in alongside email/password authentication.

Does this authentication approach support 2FA and Passkeys?

Yes, this authentication approach supports 2FA and Passkeys. It handles advanced security features including two-factor authentication, magic links, organizations, and email verification directly in your TypeScript application.

What's the best way to configure database adapters for user authentication?

The best way to configure database adapters for user authentication is to use a scaffolding tool that detects your ORM, like Prisma or Drizzle, and automatically sets up the required connections for your TypeScript application.

Do I need Prisma or Drizzle to implement email verification and password reset?

You do not strictly need Prisma or Drizzle to implement email verification and password reset, but the scaffolding supports multiple ORMs. It configures your existing database adapter to handle these advanced auth features automatically.