Registry / pproenca

pproenca/dot-skills/better-auth-scaffold

Scaffolds a Better Auth setup in a Next.js (App Router) + Drizzle project — lib/auth.ts, lib/auth-client.ts, the /api/auth/[...all] route handler, middleware.ts, .env.example, and a permissions module. Produces convention-enforced templates for three plugin presets (minimal, social, advanced with twoFactor+magicLink). Trigger even when the user doesn't explicitly say "scaffold" — phrases like "set up Better Auth", "wire up auth", "initialize auth in this project", or "add auth to Next.js" should

Agent skill · version 0.0.0-master.1794325641.gcf93c57 · from pproenca/dot-skills

Install

npx yarkr-cli add skill:pproenca/dot-skills/better-auth-scaffold

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:pproenca/dot-skills/better-auth-scaffold
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:pproenca/dot-skills/better-auth-scaffold

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:pproenca/dot-skills/better-auth-scaffold

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.