create-auth-skill

Plan and implement Better Auth authentication for TypeScript/JavaScript apps.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/ganzinn/deja-word --skill create-auth-skill-ganzinn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/ganzinn/deja-word/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/ganzinn/deja-word --skill create-auth-skill-ganzinn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach to planning and implementing authentication in TypeScript/JavaScript projects using Better Auth. It guides teams through discovery, requirement gathering, and a staged rollout to avoid scope creep and integration issues.

Core Features & Use Cases

  • Auto-detects project framework and stack (e.g., Next.js, Prisma/Drizzle) to tailor an authentication plan.
  • Phase-driven workflow: Phase 1 planning with structured questions, followed by Phase 2 implementation guidance covering server config, client setup, routes, migrations, and UI pages.
  • Comprehensive coverage: sign-in, sign-up, optional email verification, password reset, OAuth providers, and plugin options while generating environment setup and deployment steps.

Quick Start

Run the planning flow to generate a tailored authentication implementation plan for your TypeScript/JavaScript project using Better Auth.

Frequently Asked Questions about create-auth-skill

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

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

To implement authentication with Better Auth, run the Skill's planning flow to auto-detect your framework and database, then generate a tailored implementation plan covering server config, client setup, migrations, and UI scaffolding.

What is the best way to scaffold OAuth and email verification flows for JavaScript projects?

The best way to scaffold OAuth and email verification is using a phase-driven workflow that first gathers project requirements and then outputs structured implementation steps for environment setup, routes, and UI pages.

Does Better Auth scaffolding work with Next.js and ORM tools like Prisma or Drizzle?

Yes, Better Auth scaffolding works with Next.js and ORMs like Prisma or Drizzle by auto-detecting your specific project stack to produce tailored authentication configuration and database migration steps.

How do I set up environment variables and database migrations for Better Auth?

You set up environment variables and database migrations for Better Auth during the Phase 2 implementation stage, which provides specific guidance for configuring your server environment and applying database schema changes.

Can I generate both server configuration and client UI pages for Better Auth at the same time?

Yes, you can generate server configuration and client UI pages simultaneously during the Phase 2 implementation stage, which outputs comprehensive scaffolding for sign-in, sign-up, and password reset routes.