スキル auth-integration
📦

auth-integration

コンテンツリビジョン r1 安全 ⚙️ 外部コマンド🌐 ネットワークアクセス📁 ファイルシステムへのアクセス🔑 環境変数

實作安全的 Next.js 身分驗證

身分驗證工作很容易規格不足,也很難確保安全。此技能會引導 Claude、Codex 和 Claude Code 處理表單、工作階段、受保護路由和角色檢查。

対応: Claude Codex Code(CC)
Maintain this Skill? Claim it 🥉 77 ブロンズ

自分のエージェントでインストール

このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。

エージェントリクエスト
Review the Skillstore skill "auth-integration" from https://skillstore.io/skills/awais68-auth-integration.md and its manifest at https://skillstore.io/api/skills/awais68-auth-integration/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。

エージェントが読めるリソース

AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。

テストする

「auth-integration」を使用しています。 為新的儀表板應用程式加入身分驗證。

期待される結果:

  • auth routes、forms、session store、middleware 和 guards 的檔案規劃。
  • 環境變數、電子郵件驗證、安全 cookies 和工作階段過期的檢查清單。
  • Better Auth、Prisma 和 Google OAuth 設定的實作備註。

「auth-integration」を使用しています。 為教育儀表板建立角色檢查。

期待される結果:

  • admin、teacher、student 和 parent 使用者的角色模型。
  • 常見操作的權限群組,例如管理使用者和檢視班級資料。
  • 在 middleware、server actions 和 UI guards 中強制執行檢查的指引。

「auth-integration」を使用しています。 審查我的登入流程是否缺少安全控制。

期待される結果:

  • 涵蓋 CSRF、安全 cookies、rate limits、電子郵件驗證和 audit logs 的審查清單。
  • 針對弱密碼規則或缺少 server-side authorization 的具體修正步驟。
  • 針對登入失敗、登出清理和受保護路由重新導向的測試建議。

セキュリティ監査

安全

The static findings are false positives caused by Markdown code fences, TypeScript template literals, documentation links, and environment variable examples. No prompt injection, malicious command execution, filesystem access, credential exfiltration, or unsafe network behavior was found in SKILL.md.

1
スキャンされたファイル
707
解析済み行数
0
レビュー項目
0
誤検知を無視
最新の完了済み静的・セマンティック監査では、確認済みのセキュリティ検出事項は見つかりませんでした。これは、スキルに副作用がないことを証明するものではありません。
監査者: codex 監査履歴を表示 →
このレポートを共有・引用

バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。

バージョン別レポートを開く
セキュリティ評価

レポートリンクをコピー

https://skillstore.io/skills/awais68-auth-integration/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdownバッジ

[![Skillstore security assessment](https://skillstore.io/badges/skills/awais68-auth-integration/security.svg)](https://skillstore.io/skills/awais68-auth-integration?utm_source=security_passport_badge)

HTMLバッジ

<a href="https://skillstore.io/skills/awais68-auth-integration?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/awais68-auth-integration/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

埋め込みカード

<iframe src="https://skillstore.io/embed/skills/awais68-auth-integration.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学術引用 (APA · BibTeX · CFF)

APA形式の引用

Awais68. (2026). auth-integration security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/awais68-auth-integration/audits/8

BibTeX形式の引用

@techreport{awais68-awais68-auth-integration-2026, author = {Awais68}, title = {auth-integration security audit report (audit version 8)}, institution = {Skillstore}, year = {2026}, number = {8}, url = {https://skillstore.io/skills/awais68-auth-integration/audits/8}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "auth-integration security audit report (audit version 8)" version: "unspecified" type: report authors: - name: "Awais68" date-released: "2026-07-06" url: "https://skillstore.io/skills/awais68-auth-integration/audits/8" identifiers: - type: other value: "skillstore:awais68-auth-integration:audit:8" description: "Skillstore immutable audit report identifier"

Skillstore スコア

このスコアの理由 証拠の信頼度: 高
55
アーキテクチャ
85
保守性
87
コンテンツ
70
コミュニティ
74
仕様準拠

作成できるもの

為新應用程式加入 Auth

建立完整的身分驗證基準,包含 provider 設定、表單驗證、工作階段狀態和路由保護。

標準化存取控制

為建置儀表板或 ERP 工作流程的團隊定義角色、權限、middleware 檢查和可重用 guards。

審查 Auth 安全需求

根據 cookies、rate limits、電子郵件驗證和 audit logging 的實務控制措施檢查實作。

これらのプロンプトを試す

設定基本 Auth
使用 auth-integration 技能,將含有電子郵件和 Google 登入的 Better Auth 加入我的 Next.js App Router 專案。包含必要檔案、環境變數和設定步驟。
建置 Auth 表單
使用 auth-integration 技能建置登入、註冊和忘記密碼頁面。使用 React Hook Form、Zod 驗證、載入狀態和無障礙錯誤訊息。
保護儀表板路由
使用 auth-integration 技能保護我的儀表板路由。為未驗證使用者加入 middleware 檢查、client auth guard、工作階段 hydration 和重新導向。
設計角色型存取
使用 auth-integration 技能,為 admin、teacher、student 和 parent 使用者設計角色型存取控制。包含 server-side checks、permission helpers、audit logging 和 test cases。

ベストプラクティス

  • 將 secrets 保存在環境變數中,並在共享範例中使用 placeholders。
  • 在伺服器端強制執行授權,即使用戶端 guards 能改善使用者體驗也一樣。
  • 在生產發布前加入 rate limiting、audit logging、安全 cookies 和電子郵件驗證。

回避

  • 不要只依賴 client-side redirects 來保護敏感路由。
  • 不要在原始碼檔案中硬編碼 OAuth secrets、database URLs 或 auth secrets。
  • 不要略過登入、註冊或密碼重設 endpoints 的 rate limiting。

よくある質問

哪些專案適合使用此技能?
它適用於需要 Better Auth、NextAuth、表單、工作階段、受保護路由或 RBAC 的 Next.js App Router 專案。
它會自動安裝 auth provider 嗎?
不會。它提供實作指引和檔案模式,讓代理能套用到你的專案中。
它能支援 Google OAuth 嗎?
可以。此技能包含 Google provider 設定,以及 client ID 和 client secret 的環境變數指引。
它涵蓋角色型存取控制嗎?
可以。它包含 role constants、permission helpers、middleware checks 和 component guards。
它適合用於生產環境嗎?
它包含生產環境控制措施,但你的最終實作仍需要專案特定的安全審查。
Claude Code 或 Codex 可以使用此技能嗎?
可以。metadata 宣告支援 Claude、Codex 和 Claude Code 工作流程。

開発者情報

作成者

Awais68

ライセンス

MIT

Skillstore リビジョン

r1

バージョンに関する注意

作者はバージョンを宣言していません。

参照

c4231f0153ccd2a2ed62274c5a372bf8f2386d3f

メンテナンスの新しさ

2026/7/18

利用状況

6 ダウンロード · 205 閲覧

ファイル構成

📄 SKILL.md

Awais68 のその他のスキル

すべて表示
すべて表示