neon-auth-nextjs
Sets up Neon Auth in Next.js App Router applications. Configures API routes, middleware, server components, and UI. Use when adding auth-only to Next.js apps (no database needed).
Install
With your agent
Install OMGSkills skill "neondatabase/neon-js:neon-auth-nextjs" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/neondatabase/neon-js /tmp/neon-js && ln -s /tmp/neon-js/skills/neon-auth-nextjs ~/.claude/skills/neon-auth-nextjs
From README
Neon Auth for Next.js Help developers set up @neondatabase/auth in Next.js App Router applications (auth only, no database). When to Use Use this skill when: Setting up Neon Auth in Next.js (App Router) User mentions "next.js", "next", or "app router" with Neon Auth Auth-only (no database needed) Critical Rules Server vs Client imports: Use correct import paths 'use client' directive: Required for client components using hooks CSS Import: Choose ONE - either /ui/css OR /ui/tailwind, never both onSessionChange: Always call router.refresh() to update Server Components Critical Imports | Purpose | Import From | |---------|-------------| | Unified Server (createNeonAuth) | @neondatabase/auth/next/server | | Client Auth | @neondatabase/auth/next | | UI Components | @neondatabase/auth/react/ui | | View Paths (static params) | @neondatabase/auth/react/ui/server | Note: Use createNeonAuth() from @neondatabase/auth/next/server to get a unified auth instance that provides: .handler() - API...
