ts-auth

Installation
SKILL.md

When to Use This Skill

Use when you need to:

  • Pick an auth library/service for a new Next.js app
  • Protect a route, Server Component, Server Action, or API route
  • Decide between a JWT session and a database-backed session
  • Explain why a logged-out user can still hit a Server Action

Trigger keywords: Auth.js, NextAuth, Clerk, Lucia, sign in, sign out, OAuth provider, session cookie, JWT, middleware auth, protected route, auth.ts, getServerSession, currentUser, withAuth, password hashing.

Freshness rule: all three libraries change fast — Auth.js v5's API differs from v4, Clerk ships new SDK helpers regularly, and Lucia deprecated its own core package in favor of documented patterns. Recheck each project's current docs before wiring auth; do not assume an API shape from training data.


Installs
5
GitHub Stars
1
First Seen
Aug 10, 2026
ts-auth — ronjunevaldoz/ts-agent-skills