create-auth-skill

Plan and scaffold Better Auth integration for TypeScript/JavaScript apps.

15|3|Updated Oct 17, 2024
One-click install
npx skills add https://github.com/suzuki3jp/PlaylistWizard --skill create-auth-skill-suzuki3jp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/suzuki3jp/PlaylistWizard/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/suzuki3jp/PlaylistWizard --skill create-auth-skill-suzuki3jp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates planning and scaffolding for adding authentication to TypeScript/JavaScript apps using Better Auth, reducing setup time and guesswork.

Core Features & Use Cases

  • Structured Planning: Scans the project to detect framework, database, existing auth, and dependencies to pre-fill defaults.
  • Questionnaire-driven Plan: Generates a consolidated set of planning questions and a final implementation plan for the chosen stack.
  • End-to-end Scaffolding: Produces server config, client wiring, route handlers, migrations, and optional plugins for a production-ready auth integration.
  • Use Case: Ideal for Next.js apps needing email/password with social login and 2FA, delivering a complete plan and actionable steps.

Quick Start

Run the planning phase to generate a tailored authentication implementation plan.

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 Better Auth in a TypeScript app?

To implement Better Auth in a TypeScript app, this Skill scans your project to detect the framework and database, then generates a questionnaire-driven plan and scaffolds server config, client wiring, and migrations.

What is the best way to add email/password and social login with 2FA to Next.js?

Adding email/password, social login, and 2FA to Next.js is streamlined by generating a consolidated set of planning questions and an end-to-end implementation plan that covers server configuration and client wiring.

Can I use this authentication scaffolding with any JavaScript framework and database?

Yes, this authentication scaffolding applies across common JavaScript frameworks and databases, pre-filling defaults based on detected dependencies to produce a production-ready integration plan.

Does Better Auth implementation require manual database migration setup?

Manual database migration setup is minimized because the scaffolding process produces route handlers and migration steps automatically as part of the final implementation plan.

How does automated auth planning handle existing authentication layers in a project?

Automated auth planning handles existing authentication layers by scanning the project to detect current setups, ensuring the new integration plan accounts for your current stack and dependencies.