neondatabase avatar

Neon Auth

Adds authentication to Next.js, React SPAs, or Node.js apps using Neon's auth package. Handles the full setup: auth routes, session management, social providers like Google and GitHub, and generates UI components. The skill includes framework-specific guides that walk through setup in phases, plus troubleshooting docs for common import and adapter mistakes. Nice touch: it auto-detects your project structure and picks the right guide without you having to specify. If you need database queries too, you'll want the neon-js skill instead, which bundles auth and data access together. This one stays focused on authentication only, keeping the bundle smaller.

skills.sh installs
264
GitHub stars
86
last updated
Jun 3, 2026

Install

$ npx -y skills add neondatabase/ai-rules --skill neon-auth --agent claude-code

Installs into .claude/skills of the current project.

Files

Neon Auth Integration

Add authentication to your application.

When to Use This Skill

  • Adding authentication to a new or existing project
  • Implementing sign-in, sign-up, and session management
  • Configuring social authentication (Google, GitHub)

Package: @neondatabase/auth (auth only, smaller bundle)

Need database queries too? Use the neon-js skill instead for @neondatabase/neon-js with unified auth + data API.

Code Generation Rules

When generating TypeScript/JavaScript code, follow these rules:

Complete reference: See Code Generation Rules for:

  • Import path handling (path aliases vs relative imports)
  • Neon package imports (subpath exports, adapter patterns)
  • CSS import strategy (Tailwind detection, single import method)
  • File structure patterns

Sponsors

Details

Repository
github.com/neondatabase/ai-rules
Categories
Backend & APIs, AI & Agent Building, Databases
First seen
Jun 3, 2026

More from neondatabase/ai-rules

All 3
1vercel-labs avatarrouting-middlewarevercel-labs/vercel-pluginrouting middleware264skills.sh installs
2davila7 avatarclinpgx-databasedavila7/claude-code-templatesAccess ClinPGx pharmacogenomics data (successor to PharmGKB). Query gene-drug interactions, CPIC guidelines, allele functions, for precision medicine and genoty261skills.sh installs
3sickn33 avatarsupabase-automationsickn33/antigravity-awesome-skillssupabase automation261skills.sh installs
4vercel-labs avatarai-gatewayvercel-labs/vercel-pluginai gateway260skills.sh installs
5ceedaragents avatarcyrus-setup-claude-authceedaragents/cyruscyrus setup claude auth250skills.sh installs
6vercel-labs avatarauthvercel-labs/vercel-pluginauth232skills.sh installs