create-auth-skill

Scaffold authentication layers for TypeScript/JavaScript apps with Better Auth.

5.2k|543|Updated Jan 27, 2015
One-click install
npx skills add https://github.com/lukevella/rallly --skill create-auth-skill-lukevella
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/lukevella/rallly/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/lukevella/rallly --skill create-auth-skill-lukevella

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developing authentication for TypeScript/JavaScript apps can be time-consuming and error-prone. This Skill provides a structured, repeatable workflow to plan, scaffold, and integrate a secure auth layer using Better Auth, reducing integration overhead and ensuring best practices.

Core Features & Use Cases

  • Structured auth planning: automatically detects project characteristics (framework, ORM, existing auth) and generates a tailored plan.
  • End-to-end implementation guidance: from environment setup to route handlers, client config, and migrations.
  • Use Case: quickly add robust authentication to a new project or retrofit auth to an existing application with minimal back-and-forth.

Quick Start

Use the create-auth-skill to scaffold authentication in a TypeScript/JavaScript project.

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 authentication to an existing TypeScript app?

To add authentication to an existing TypeScript app, this Skill scans your project to detect the framework and ORM, then generates a tailored plan and scaffolds config, route handlers, and migrations. It guides the entire integration process through a structured Q&A flow.

What is the best way to scaffold an auth layer for a new JavaScript project?

The best way to scaffold an auth layer for a new JavaScript project is using an automated workflow that plans provider selection and generates boilerplate. This Skill applies framework detection to produce route handlers, client config, and migration scripts end-to-end.

Does this authentication scaffolding tool work with any JavaScript framework?

This authentication scaffolding tool works with JavaScript frameworks by automatically detecting your project characteristics during an initial scan. It then tailors the plan summary and code generation to fit the specific framework and ORM detected in your environment.

Can I use Better Auth to plan and generate migrations for TypeScript?

Yes, you can use Better Auth to plan and generate migrations for TypeScript apps. This Skill integrates Better Auth by guiding provider selection and automatically generating the required database migration scripts alongside route handlers and client configurations.

How does automated auth planning handle environment setup and route handlers?

Automated auth planning handles environment setup and route handlers by guiding you through a structured Q&A flow to select providers. It then outputs a plan summary and generates the necessary configuration files, client setup, and route handler code for your application.