·auth0-nextjs
</>

auth0-nextjs

auth0/agent-skills

在透過伺服器端和用戶端身份驗證向 Next.js 應用程式新增身份驗證時使用 - 透過 @auth0/nextjs-auth0 SDK 支援 App Router 和 Pages Router

47安裝·6熱度·@auth0

安裝

$npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs

SKILL.md

Add authentication to Next.js applications using @auth0/nextjs-auth0. Supports both App Router and Pages Router.

For automated setup with Auth0 CLI, see Setup Guide for complete scripts.

Note: In v4, wrapping with is optional. Only needed if you want to pass an initial user during server rendering to useUser().

在透過伺服器端和用戶端身份驗證向 Next.js 應用程式新增身份驗證時使用 - 透過 @auth0/nextjs-auth0 SDK 支援 App Router 和 Pages Router 來源:auth0/agent-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs
分類
</>開發工具
認證
收錄時間
2026-02-17
更新時間
2026-02-18

快速解答

什麼是 auth0-nextjs?

在透過伺服器端和用戶端身份驗證向 Next.js 應用程式新增身份驗證時使用 - 透過 @auth0/nextjs-auth0 SDK 支援 App Router 和 Pages Router 來源:auth0/agent-skills。

如何安裝 auth0-nextjs?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/auth0/agent-skills --skill auth0-nextjs 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/auth0/agent-skills