create-auth-skill

Automate Better Auth setup and migration for TypeScript/JavaScript apps.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/csim-sg/yacc --skill create-auth-skill-csim-sg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth-skill
Source: https://github.com/csim-sg/yacc/tree/main/.agents/skills/create-auth-skill
Command: npx skills add https://github.com/csim-sg/yacc --skill create-auth-skill-csim-sg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers add authentication to TypeScript/JavaScript applications using Better Auth, reducing boilerplate and boosting security.

Core Features & Use Cases

  • Installation and setup of Better Auth in new or existing projects
  • Framework- and provider-agnostic configuration with auth.ts and auth-client.ts
  • Migration support and plugin integrations for common auth workflows

Quick Start

Install the core package in your project with npm install better-auth, then run the generate/migrate steps to apply initial auth setup, and finally reference the auth.ts and auth-client.ts templates to wire up sign-in flow.

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

To add authentication to a TypeScript app, this Skill automates Better Auth setup by generating core files like auth.ts and auth-client.ts, configuring providers, and wiring up sign-in routes. It reduces boilerplate and boosts security for new or existing projects.

Can I use Better Auth to migrate an existing JavaScript project?

Yes, Better Auth supports migrations for existing JavaScript projects. This Skill guides framework selection, provider setup, and route integration, while also supporting CLI migrate and generate commands to apply schema migrations seamlessly.

What is the best way to configure Better Auth providers and routes?

The best way to configure Better Auth providers and routes is through framework-agnostic configuration files. This Skill generates auth.ts and auth-client.ts templates to establish core authentication workflows and plugin integrations automatically.

How do Better Auth CLI migrate and generate commands work for schema setup?

Better Auth CLI migrate and generate commands apply initial auth setup and schema migrations. After installing the core package, running these commands configures the database schema and generates the necessary authentication files for your project.

Does Better Auth work with any JavaScript framework?

Better Auth is framework-agnostic, meaning it works across different JavaScript frameworks. This Skill guides you through framework selection and provider setup to ensure the authentication configuration fits your specific application architecture.