create-auth-skill

Automate Better Auth setup for TypeScript and JavaScript apps.

1|1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/mauricioacp/tanstack-convex-better-auth-template --skill create-auth-skill-mauricioacp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/mauricioacp/tanstack-convex-better-auth-template/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/mauricioacp/tanstack-convex-better-auth-template --skill create-auth-skill-mauricioacp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating secure, scalable authentication in TypeScript/JavaScript apps often requires boilerplate, careful configuration, and repeated setup across projects. This Skill provides a structured approach to integrating Better Auth to reduce boilerplate and prevent common mistakes.

Core Features & Use Cases

  • Install and configure Better Auth in new or existing projects.
  • Wire server and client authentication flows, including route handlers and migrations.
  • Use plugins and adapters to support OAuth, email/password, and 2FA.
  • Use Case: A team wants a plug-and-play authentication layer that supports multiple frameworks with minimal boilerplate.

Quick Start

Install Better Auth in your project, configure server and client, run migrations, and integrate into your app.

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

To add authentication to a TypeScript app using Better Auth, you install the library, configure server and client files, set up route handlers, and run database migrations. This provides a structured setup with minimal boilerplate.

Can I use Better Auth for an existing JavaScript project migration?

Yes, you can use Better Auth for an existing JavaScript project migration. The setup applies to new projects and migrations across frameworks, wiring server and client authentication flows without requiring a completely new codebase.

How do I configure OAuth and 2FA in Better Auth?

You configure OAuth and 2FA in Better Auth by using its plugin-driven features and adapters. This approach supports OAuth, email/password, and 2FA requirements while maintaining security best practices across your server and client setup.

What is the best way to reduce authentication boilerplate in JavaScript?

The best way to reduce authentication boilerplate in JavaScript is using a plugin-driven library like Better Auth. It automates server and client configuration, credential handling, and migration tooling to prevent common setup mistakes.

Does Better Auth work across multiple JavaScript frameworks?

Yes, Better Auth works across multiple JavaScript frameworks. It provides a plug-and-play authentication layer that applies server and client setup, route handlers, and plugin-driven features across various framework environments.