create-auth-skill

Integrate better-auth authentication into TypeScript/JavaScript applications.

Updated Dec 29, 2025
One-click install
npx skills add https://github.com/TudorAndrei/osint-master --skill create-auth-skill-tudorandrei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/TudorAndrei/osint-master/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/TudorAndrei/osint-master --skill create-auth-skill-tudorandrei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex process of adding robust authentication and authorization to TypeScript/JavaScript applications, reducing development time and potential security vulnerabilities.

Core Features & Use Cases

  • Framework Agnostic: Supports various frameworks like Next.js, Express, SvelteKit, and more.
  • Flexible Providers: Integrates with email/password, social logins (Google, GitHub), and enterprise SSO.
  • Database Integration: Works with popular databases and ORMs like Prisma, Drizzle, and Kysely.
  • Use Case: Quickly add secure user sign-up, login, and session management to a new web application using your preferred framework and database.

Quick Start

Use the create-auth-skill to set up email/password authentication for a Next.js app 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
How do I integrate better-auth for authentication in a TypeScript application?

To integrate better-auth for authentication in TypeScript, this Skill guides you through configuring framework-specific route handlers, running database migrations, and setting up common plugin configurations for secure user management.

Can I use this authentication setup with Next.js and Express?

Yes, this authentication setup works with Next.js, Express, SvelteKit, and more. It provides framework-agnostic guidance to help you add secure user sign-up, login, and session management using your preferred web framework.

Does better-auth support social logins and enterprise SSO?

Yes, better-auth supports social logins like Google and GitHub alongside enterprise SSO. You can configure these flexible providers to facilitate secure user management and authentication across different login methods.

What's the best way to add email/password authentication to an existing TypeScript project?

The best way to add email/password authentication to an existing TypeScript project is by configuring better-auth with your current database and ORM. This Skill covers setup for existing projects, including database migrations and route handler integration.

Which databases and ORMs work with this TypeScript authentication integration?

This TypeScript authentication integration works with popular databases and ORMs including Prisma, Drizzle, and Kysely. It helps you connect your authentication layer to your existing database infrastructure seamlessly.

How do I handle database migrations when setting up authentication?

When setting up authentication, database migrations are handled through the better-auth configuration process. This Skill guides you through generating and applying the necessary migrations to support user management tables in your chosen ORM.