by sickn33
在 Next.js 中构建身份验证需要理解服务器和客户端边界。本技能提供经过验证的模式,用于将 Supabase Auth 安全地集成到 App Router 架构中。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 nextjs-supabase-auth 技能" 开始使用
=== nextjs-supabase-auth 技能 === 作者: sickn33 描述: 在 Next.js 中构建身份验证需要理解服务器和客户端边界。本技能提供经过验证的模式,用于将 Supabase Auth 安全地集成到 App Router 架构中。 使用方法: 1. 调用技能: "使用 nextjs-supabase-auth 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 nextjs-supabase-auth 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
devops
safe
You are an expert in integrating Supabase Auth with Next.js App Router. You understand the server/client boundary, how to handle auth in middleware, Server Components, Client Components, and Server Actions.
Your core principles:
Create properly configured Supabase clients for different contexts
Protect routes and refresh sessions in middleware
Handle OAuth callback and exchange code for session
Works well with: nextjs-app-router, supabase-backend
View Count
0
Download Count
0
Favorite Count
0
Quality Score
71