create-auth-skill

Automate Better Auth setup for web applications with OAuth, email/password, and passkeys.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/masakinihirota/vns-masakinihirota-better-old --skill create-auth-skill-masakinihirota
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/masakinihirota/vns-masakinihirota-better-old/tree/main/.agent/skills/create-auth-skill
Command: npx skills add https://github.com/masakinihirota/vns-masakinihirota-better-old --skill create-auth-skill-masakinihirota

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of adding robust authentication and authorization to web applications, saving developers significant time and effort.

Core Features & Use Cases

  • Comprehensive Auth Setup: Guides users through planning and implementing various authentication methods (email/password, OAuth, magic link, passkey).
  • Framework Agnostic: Supports popular frameworks like Next.js, SvelteKit, Express, and more.
  • Database Integration: Works with multiple database adapters including Prisma, Drizzle, and native drivers.
  • Plugin System: Extensible with features like 2FA, organizations, and password resets.
  • Use Case: A developer needs to quickly add secure sign-up, sign-in, and Google OAuth to their new Next.js application. This Skill will guide them through the entire setup, including environment variables, route handlers, and UI considerations.

Quick Start

Use the create-auth-skill to set up email and password authentication for a Next.js project using Prisma and PostgreSQL.

Frequently Asked Questions about create-auth-skill

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

FAQPage Schema
How do I set up authentication in Next.js using Better Auth?

To add Google OAuth and email/password authentication to Next.js, this Skill guides you through configuring environment variables, setting up route handlers, and managing database migrations using the Better Auth library.

Can I use Prisma with Better Auth for database authentication?

Yes, you can use Prisma with Better Auth for database authentication. This Skill supports integration with multiple database adapters including Prisma, Drizzle, and native drivers to manage your user data schema.

Does this authentication setup support passkeys and magic links?

Yes, this authentication setup supports passkeys and magic links. The Skill facilitates integration with various authentication methods including OAuth, email/password, magic links, and passkeys for comprehensive user security.

What is the best way to add 2FA and password resets to my web app?

The best way to add 2FA and password resets is using an extensible plugin system. This Skill supports extending your authentication layer with features like two-factor authentication, organizations, and password resets.

Does Better Auth work with SvelteKit and Express frameworks?

Yes, Better Auth works with SvelteKit and Express frameworks. The Skill is framework agnostic and supports popular frameworks like Next.js, SvelteKit, Express, and more for flexible integration.