create-auth-skill

Implement authentication layers in TypeScript/JavaScript projects using Better Auth.

12|1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/beeman/solana-mobile-monorepo --skill create-auth-skill-beeman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/beeman/solana-mobile-monorepo/tree/main/.ruler/skills/create-auth-skill
Command: npx skills add https://github.com/beeman/solana-mobile-monorepo --skill create-auth-skill-beeman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers implement authentication layers in TypeScript/JavaScript apps using Better Auth.

Core Features & Use Cases

  • Install and configure Better Auth in new or existing projects.
  • Create server and client auth flows, including route protection, session management, and multi-provider support.
  • Migrate or augment existing auth logic with Better Auth plugins (2FA, SSO, social providers).

Quick Start

Install Better Auth and wire up a minimal auth flow in your app: npm install better-auth, create an auth.ts/config, and expose signIn/signOut utilities.

Frequently Asked Questions about create-auth-skill

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

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

To implement authentication in TypeScript, install Better Auth, create an auth.ts configuration file, and expose signIn/signOut utilities. This skill configures both server and client authentication flows for secure sign-in and session management.

Can I add two-factor authentication and social providers with Better Auth?

Yes, you can add two-factor authentication and social providers with Better Auth. The skill augments existing auth logic by configuring Better Auth plugins, enabling multi-provider support and SSO for web and mobile apps.

What is the best way to manage user sessions and route protection in JavaScript?

The best way to manage user sessions and route protection in JavaScript is using Better Auth. It handles secure sign-in flows, session management, and route handling to protect application endpoints across server and client environments.

Does Better Auth work with both web and mobile applications?

Yes, Better Auth works with both web and mobile applications. The skill applies provider-based authentication flows and secure session management to any TypeScript or JavaScript project requiring robust authentication layers.

How do I migrate existing authentication logic to Better Auth?

To migrate existing authentication logic to Better Auth, install the package and use its plugins to augment your current setup. The skill covers configuring server and client auth, route handling, and applying necessary database migrations.