tool-design
81设计可靠的智能体工具
当工具名称、输入、输出或错误信息含糊不清时,智能体就会失败。此技能为工具描述、schema、响应格式和测试提供实用模式。
配置 Better Auth OAuth 和 OIDC SSO
OAuth/OIDC 设置在身份验证服务器、客户端、令牌存储和重定向之间容易出错。此技能会指导使用 PKCE、JWKS、刷新、登出和电子邮件验证模式来设置 Better Auth 服务器和 Next.js SSO 客户端。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "configuring-better-auth" from https://skillstore.io/skills/asmayaseen-configuring-better-auth.md and its manifest at https://skillstore.io/api/skills/asmayaseen-configuring-better-auth/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“configuring-better-auth”。 我需要为三个内部 Next.js 应用提供 SSO。
预期结果:
正在使用“configuring-better-auth”。 我的 OAuth 回调可以工作,但令牌过期后刷新失败。
预期结果:
正在使用“configuring-better-auth”。 在生产前审查此 Better Auth 设置。
预期结果:
Static results were dominated by false positives from Markdown, template literals, normal environment configuration, and expected OAuth network operations. Three findings remain confirmed: two remote MCP trust-boundary references and disabled signing-key encryption. Semantic review found serious flaws in token storage, state validation, JWT validation, redirects, cookies, and route protection.
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/asmayaseen-configuring-better-auth/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/asmayaseen-configuring-better-auth?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/asmayaseen-configuring-better-auth?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/asmayaseen-configuring-better-auth/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/asmayaseen-configuring-better-auth.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Asmayaseen. (2026). configuring-better-auth security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/asmayaseen-configuring-better-auth/audits/9@techreport{asmayaseen-asmayaseen-configuring-better-auth-2026,
author = {Asmayaseen},
title = {configuring-better-auth security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/asmayaseen-configuring-better-auth/audits/9},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "configuring-better-auth security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "Asmayaseen"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/asmayaseen-configuring-better-auth/audits/9"
identifiers:
- type: other
value: "skillstore:asmayaseen-configuring-better-auth:audit:9"
description: "Skillstore immutable audit report identifier"
为多个应用设计 Better Auth 服务器,包含 OIDC、PKCE、客户端注册和同意决策。
为 Next.js 客户端应用实现登录、回调、会话、刷新和登出路由。
在生产前检查重定向 URI 处理、令牌存储、JWKS 验证、刷新流程和登出行为。
Use this skill to plan a Better Auth OAuth/OIDC setup for two Next.js apps. Ask for missing architecture details first.
Use this skill to outline the Better Auth OIDC provider configuration, PKCE client settings, JWKS setup, and email verification choices.
Use this skill to design the Next.js SSO client routes for login, callback, session, token refresh, and global logout.
Use this skill to review an existing Better Auth SSO flow for token storage, state validation, redirect handling, JWKS verification, and logout gaps.
作者
Asmayaseen许可证
MIT
Skillstore 修订
r2
版本提示
作者未声明版本。
引用
89edfdc710d0846129dcee6a929477b04f08052c
维护新鲜度
2026/7/27
使用量
8 次下载 · 478 次浏览
文件结构
设计可靠的智能体工具
当工具名称、输入、输出或错误信息含糊不清时,智能体就会失败。此技能为工具描述、schema、响应格式和测试提供实用模式。
系统化调试软件问题
无结构的错误修复会浪费时间,并可能掩盖真正的故障。此技能会引导 Claude、Codex 和 Claude Code 进行基于证据的根因分析。
提升生产服务可靠性
生产团队需要清晰的可靠性目标和可重复的事件处理实践。此技能提供用于 SLO、错误预算、告警和事后复盘的 SRE 模板。
在 Next.js 中构建 shadcn/ui 界面
React 团队需要能与现代 Next.js 配合使用的一致 UI 模式。此技能提供 shadcn/ui 设置指导、组件示例、表单验证、表格、侧边栏和深色模式模式。
构建流式 AI 聊天界面
当用户看不到进度、响应状态或 UI 变化时,实时 AI 聊天体验会显得不完整。此技能为 Claude、Codex 和 Claude Code 提供流式生命周期、进度事件、客户端效果和客户端工具的模式。
诊断上下文退化
当上下文变长、出现冲突或包含干扰材料时,长时间 AI 会话可能会降低准确性。此技能可帮助 Claude、Codex 和 Claude Code 识别退化模式,并选择实用的缓解步骤。
在资深指导下构建全栈应用
由 alirezarezvani
全栈项目通常需要一致的设置、架构选择和质量检查。此技能为 React、Next.js、Node.js、GraphQL 和 PostgreSQL 工作提供脚本与参考资料。
实现 React View Transitions
由 vercel-labs
React 视图过渡很容易放错位置,从而导致无提示或嘈杂的动画。此技能可指导路由、Suspense、列表和共享元素动画的选择。
构建可用于生产的前端功能
由 davila7
前端团队需要在各项目中获得一致的 React 和 Next.js 指导。此技能提供用于前端分析的参考工作流、质量实践和辅助脚本。
规划 Next.js App Router 架构
由 89jobrien
Next.js 团队在选择路由、组件、数据加载和迁移步骤时可能会遇到困难。此技能为 App Router、Server Components 和性能提供结构化的架构指导。
优化 Next.js 性能
由 Atman36
Next.js 应用可能会因为大型 bundle、薄弱的缓存和未优化的媒体而变慢。此技能会指导 Claude、Codex 和 Claude Code 对生产应用进行有针对性的性能改进。
优化 React 和 Next.js 性能
由 vercel-labs
React 和 Next.js 应用常常会因为瀑布式请求、大型包体以及可避免的重复渲染而变慢。此技能为代理提供具体规则,以便更安全地进行以性能为重点的改动。