.claude/skills/create-auth-skill/SKILL.md
Add authentication to TypeScript/JavaScript applications using Better Auth. Supports email/password, OAuth, passkeys, 2FA, organizations, and more. Works with Next.js, Express, SvelteKit, Nuxt, and other frameworks.
npx skillsauth add wallacedobbs428/thecalltaker create-auth-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Add authentication to TypeScript/JavaScript applications using Better Auth.
Before implementing:
Skip questions where you already have confident answers from your scan.
Only start after plan confirmation. Follow the decision tree based on whether this is a new project, adding to an existing one, or migrating from another auth library.
Installation:
npm install better-auth
Plus optional scoped packages: @better-auth/passkey, @better-auth/sso, etc.
Server config goes in lib/auth.ts with database adapter, email/password settings, OAuth providers, and plugins.
Client config goes in lib/auth-client.ts using framework-specific imports (React, Vue, Svelte, Solid, or vanilla JS).
Route handlers vary by framework — Next.js App Router uses app/api/auth/[...all]/route.ts, while Express uses middleware at /api/auth/*.
Database migrations depend on adapter: Kysely runs directly, Prisma requires prisma migrate dev, Drizzle requires drizzle-kit push.
BETTER_AUTH_SECRET (32+ characters)BETTER_AUTH_URL (your app URL)DATABASE_URL (your database connection)twoFactor — 2FA/TOTPorganization — Teamsadmin — User managementbearer — API tokenspasskey — WebAuthnbetter-auth.com/docs
documentation
Agentic memory system for writers - track characters, relationships, scenes, and themes
tools
Automate repetitive development tasks and workflows. Use when creating build scripts, automating deployments, or setting up development workflows. Handles npm scripts, Makefile, GitHub Actions workflows, and task automation.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices". Fetches latest Vercel guidelines and checks files against all rules.
development
Implement web accessibility (a11y) standards following WCAG 2.1 guidelines. Use when building accessible UIs, fixing accessibility issues, or ensuring compliance with disability standards. Handles ARIA attributes, keyboard navigation, screen readers, semantic HTML, and accessibility testing.