create-auth-skill

Scaffold Better Auth authentication for TypeScript and JavaScript applications.

6|4|Updated Nov 1, 2025
One-click install
npx skills add https://github.com/Montte-erp/montte-nx --skill create-auth-skill-montte-erp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/Montte-erp/montte-nx/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/Montte-erp/montte-nx --skill create-auth-skill-montte-erp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the complexity of adding authentication to TypeScript and JavaScript projects by automating planning, configuration, and scaffolding for Better Auth so developers can ship secure login flows faster.

Core Features & Use Cases

  • Project scanning & detection: Auto-detects framework, package manager, database/ORM, and any existing auth libraries to pre-fill decisions.
  • Planning workflow: Produces a structured set of planning questions and an actionable checklist before implementation to avoid mismatches.
  • Implementation guidance: Provides framework-specific route handlers, adapter instructions (Prisma, Drizzle, pg/mysql/sqlite, MongoDB), OAuth provider setup, email flows, plugins (2FA, organization), and UI page placement.
  • Use Case: Convert a monorepo Next.js app with Prisma into a production-ready auth system with email/password, Google OAuth, migrations, and sign-in/up pages with minimal manual changes.

Quick Start

Create an auth implementation plan for my Next.js App Router project using Better Auth with PostgreSQL via Prisma, email/password and Google OAuth, and include adapter config, route handler file paths, and auth page filenames.

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 Better Auth to an existing TypeScript project with Prisma?

Adding Better Auth to a TypeScript project involves auto-detecting your framework and Prisma setup, then scaffolding route handlers, configuring database adapters, generating migrations, and creating auth UI pages with minimal manual changes.

Does Better Auth work with SvelteKit, Nuxt, Astro, and Hono frameworks?

Better Auth works with SvelteKit, Nuxt, Astro, Hono, Express, Next.js, and SolidStart by providing framework-specific route handler setup and auth UI page placement for these environments.

What's the best way to set up OAuth providers and 2FA in a JavaScript app?

Setting up OAuth providers and 2FA in a JavaScript app is streamlined using Better Auth's optional plugins, configuring OAuth provider integration, email flows, and twoFactor plugins during the scaffolding process.

Can I use Better Auth with MongoDB or Drizzle instead of Prisma?

You can use Better Auth with MongoDB or Drizzle instead of Prisma, as the Skill configures multiple database/ORM adapters including Drizzle, pg/mysql/sqlite, and MongoDB to suit your existing setup.

How does framework detection work when scaffolding authentication?

Framework detection works by scanning your project to auto-detect the framework, package manager, database/ORM, and existing auth libraries, pre-filling planning decisions to avoid configuration mismatches.

Why do I need a planning workflow before implementing Better Auth?

A planning workflow is needed before implementing Better Auth to produce a structured set of planning questions and an actionable checklist, ensuring correct adapter configuration and route handler setup before implementation begins.