_setup-auth-users

Integrate NextAuth with Drizzle ORM for T3 stack email and password authentication.

34|6|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/flavien-ia/hypervibe-harness --skill setup-auth-users
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: _setup-auth-users
Source: https://github.com/flavien-ia/hypervibe-harness/tree/main/skills/_setup-auth-users
Command: npx skills add https://github.com/flavien-ia/hypervibe-harness --skill setup-auth-users

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires next-auth, @auth/drizzle-adapter, and includes scripts (resource) components.

What problem does it solve?

This skill eliminates the complex, error-prone process of manually implementing secure user authentication, database schema management, and password hashing for T3 stack applications.

Core Features & Use Cases

  • Full-Stack Auth: Automatically installs NextAuth with Drizzle ORM, handling database schema patches and secure password hashing via scrypt.
  • Complete User Flow: Generates functional sign-in, sign-up, account management, and optional password reset pages with built-in rate limiting.
  • Use Case: When building a new SaaS, use this to instantly add a production-ready user system including protected tRPC procedures and secure session management without writing boilerplate code.

Quick Start

Invoke the setup auth users skill to initialize the authentication system for your current project.

Frequently Asked Questions about _setup-auth-users

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

FAQPage Schema
How do I set up NextAuth with Drizzle ORM for a T3 stack application?

To set up NextAuth with Drizzle ORM, you need to configure the database adapter, handle schema migrations, and implement secure password hashing. This skill automates that entire integration process for T3 stack web applications.

What is the best way to add secure email and password authentication to a new SaaS project?

The best way to add secure email and password authentication is using a production-grade workflow with scrypt password hashing and rate limiting. Automating this setup eliminates manual boilerplate and reduces error-prone configuration.

Does NextAuth support automatic database schema migration for user management?

NextAuth requires an adapter like Drizzle ORM to handle database schema migration for user management. Automating this integration patches your database schema and manages secure password hashing without manual SQL.

How do I protect tRPC procedures with NextAuth session management?

Protecting tRPC procedures with NextAuth session management involves validating user sessions within your tRPC router middleware. This skill generates the necessary protected tRPC procedures and secure session logic automatically.

Can I generate sign-in and password reset pages automatically with Drizzle ORM?

Generating sign-in and password reset pages automatically with Drizzle ORM is possible by scaffolding the UI components alongside the backend authentication logic. This provides a complete user flow with built-in rate limiting.

What are the limitations of manually implementing secure password hashing in a T3 stack?

Manually implementing secure password hashing in a T3 stack is error-prone and complex, often missing crucial rate limiting or schema management. Automating the workflow ensures production-grade security using scrypt without writing boilerplate code.