重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
neon-auth by neondatabase/ai-rules
npx skills add https://github.com/neondatabase/ai-rules --skill neon-auth为你的应用程序添加身份验证功能。
包 : @neondatabase/auth(仅身份验证,包体积更小)
也需要数据库查询功能? 请改用 neon-js 技能,它提供统一的身份验证 + 数据 API(@neondatabase/neon-js)。
生成 TypeScript/JavaScript 代码时,请遵循以下规则:
完整参考: 请参阅 代码生成规则 了解:
关键点:
tsconfig.json 中的路径别名广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
BetterAuthReactAdapter 必须 从 auth/react/adapters 子路径导入()每个指南都是一个完整、独立的逐步教程,包含编号的阶段:
guides/nextjs-setup.md - 完整的 Next.js App Router 设置指南guides/react-spa-setup.md - 详细的 React SPA 指南,包含 react-router-dom 集成我会自动检测你的上下文(包管理器、框架、现有设置),并根据你的请求选择合适的指南。
如需故障排除,请参阅参考资料中的 故障排除指南。
告诉我你在构建什么 - 剩下的交给我:
主要资源: 请参阅 neon-auth.mdc 获取全面的指南,包括:
特定框架设置(选择你的框架):
特定框架 UI(选择你的框架):
共享参考资料:
templates/nextjs-api-route.ts - Next.js 的 API 路由处理程序templates/auth-client.ts - 客户端身份验证配置我将:
准备开始了吗?只需描述你正在构建的内容!
每周安装量
61
代码仓库
GitHub 星标数
81
首次出现
2026年1月23日
安全审计
安装于
codex56
opencode55
gemini-cli55
github-copilot54
cursor53
amp51
Add authentication to your application.
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.
When generating TypeScript/JavaScript code, follow these rules:
Complete reference: See Code Generation Rules for:
Key points:
tsconfig.json for path aliases before generating importsBetterAuthReactAdapter MUST be imported from auth/react/adapters subpath()Each guide is a complete, self-contained walkthrough with numbered phases:
guides/nextjs-setup.md - Complete Next.js App Router setup guideguides/react-spa-setup.md - Detailed React SPA guide with react-router-dom integrationI'll automatically detect your context (package manager, framework, existing setup) and select the appropriate guide based on your request.
For troubleshooting, see the Troubleshooting Guide in references.
Tell me what you're building - I'll handle the rest:
Primary Resource: See neon-auth.mdc for comprehensive guidelines including:
Framework-Specific Setup (choose your framework):
Framework-Specific UI (choose your framework):
Shared References:
templates/nextjs-api-route.ts - API route handler for Next.jstemplates/auth-client.ts - Client-side auth configurationI will:
Ready to get started? Just describe what you're building!
Weekly Installs
61
Repository
GitHub Stars
81
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex56
opencode55
gemini-cli55
github-copilot54
cursor53
amp51
React视图过渡API使用指南:实现原生浏览器动画与状态管理
6,600 周安装