create-auth-skill

Create Better Auth implementation plans and configuration workflows for TypeScript/JavaScript apps.

14|5|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/TheCardGoat/lorcana-simulator --skill create-auth-skill-thecardgoat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/TheCardGoat/lorcana-simulator/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/TheCardGoat/lorcana-simulator --skill create-auth-skill-thecardgoat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you implement authentication in a TypeScript/JavaScript application without getting stuck deciding how to scaffold configs, routes, providers, database adapters, and UI pages for a working Better Auth setup.

Core Features & Use Cases

  • Framework and project detection: Scans the codebase to infer framework and database/ORM choices so the plan matches your project structure.
  • Auth planning and configuration: Collects requirements for sign-in methods, OAuth providers, email verification, plugins (2FA, organizations, admin, bearer tokens, password reset), and which auth UI pages to create.
  • End-to-end implementation guidance: Provides a step-by-step implementation path for new projects, migrating from existing auth, or adding auth to an existing codebase, including environment variables, server/client config, route handlers, and migration commands.

Quick Start

Tell the AI: "Add authentication to my TypeScript app using Better Auth—use email/password plus Google OAuth, PostgreSQL with Prisma, enable email verification and password reset, and generate sign-in/sign-up and forgot/reset pages."

Frequently Asked Questions about create-auth-skill

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

FAQPage Schema
Can I configure OAuth social providers and 2FA with Better Auth?

Setting up Better Auth with Prisma involves generating database adapters and running migration commands. This Skill provides the necessary server and client auth configurations and migration steps to connect Better Auth to your Prisma schema.

Can I configure OAuth social providers and 2FA with Better Auth?

Yes, you can configure OAuth social providers and 2FA with Better Auth. The Skill collects your plugin requirements, including 2FA, organizations, password reset, and social providers, translating them into a complete auth configuration workflow.

What is the best way to migrate from another auth library to Better Auth?

The best way to migrate to Better Auth is by following a structured implementation path. This Skill generates a tailored migration plan that covers environment variable setup, route handlers, and client configuration to transition your existing project smoothly.

Does Better Auth support generating auth UI pages like sign-in and forgot password?

Better Auth supports generating auth UI pages by providing guidance for implementing them. This Skill helps you specify which auth UI pages to create, such as sign-in, sign-up, and forgot/reset password pages, as part of the end-to-end setup.

How does Better Auth handle database adapters for different ORMs?

Better Auth handles database adapters by detecting your project's persistence choices. This Skill scans your codebase to infer your ORM, like Prisma, and outputs the required database migration and adapter configuration to match your project structure.