create-auth

Build and migrate secure authentication integrations for TypeScript and JavaScript applications.

8|4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/jscraik/Agent-Skills --skill create-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-auth
Source: https://github.com/jscraik/Agent-Skills/tree/main/auth/create-auth
Command: npx skills add https://github.com/jscraik/Agent-Skills --skill create-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of building and migrating authentication systems for TypeScript and JavaScript applications, ensuring secure defaults and a robust implementation.

Core Features & Use Cases

  • Secure Defaults: Implements authentication with security best practices from the start.
  • Incremental Migration: Facilitates a smooth transition from existing auth systems to a more secure setup.
  • Feature Integration: Supports adding specific auth features like OAuth, passkeys, and 2FA.
  • Use Case: Integrate Better Auth into a new Next.js application, ensuring secure user sign-up, sign-in, and session management from day one.

Quick Start

Use the create-auth skill to set up Better Auth for a new Next.js app using Prisma.

Frequently Asked Questions about create-auth

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

FAQPage Schema
How do I implement secure authentication in a TypeScript application?

To implement secure authentication in TypeScript, use this Skill to build integrations with secure defaults, ensuring robust session management and adherence to OWASP Top 10:2025 expectations.

Can I add passkeys and OAuth to my JavaScript app?

Yes, you can add passkeys, OAuth, and 2FA to your JavaScript application by leveraging this Skill's feature integration capabilities to extend your current authentication setup.

What do I need to set up Better Auth in a Next.js app?

Setting up authentication requires providing your specific framework, runtime, and database adapter context, such as integrating Better Auth into a new Next.js application using Prisma.

Does this authentication approach follow OWASP security best practices?

Yes, this authentication approach follows OWASP Top 10:2025 security expectations by prioritizing secure defaults during the implementation and migration of your TypeScript or JavaScript integrations.

What is the best way to integrate 2FA into an existing TypeScript auth system?

The best way to integrate 2FA into an existing TypeScript auth system is using an incremental rollout strategy, which facilitates adding specific features while maintaining secure defaults.