| name | .claude/skills/authentication-flows/SKILL.md |
| description | ## 概要 📖 参照書籍: - 『Web Application Security』(Andrew Hoffman): 脅威モデリング 📚 リソース参照: - `resources/Level1_basics.md`: レベル1の基礎ガイド - `resources/Level2_intermediate.md`: レベル2の実務ガイド - `resources/Level3_advanced.md`: レベル3の応用ガイド - `resources/Level4_expert.md`: レベル4の専門ガイド - `resources/api-key.md`: API Key Authentication - `resources/jwt.md`: JSON Web Token (JWT) - `resources/legacy-skill.md`: 旧SKILL.mdの全文 - `resources/mtls.md`: Mutual TLS (mTLS) - `resources/oauth2.md`: OAuth 2.0フロー種別(Authorization Code・PKCE・Client Credentials・Device Code)の実装ガイドとTypeScriptサンプルコード - `scripts/log_usage.mjs`: 使用記録・自動評価スクリプト - `scripts/validate-auth-config.mjs`: Authentication Configuration Validator - `scripts/validate-skill.mjs`: スキル構造検証スクリプト - `templates/jwt-service-template.ts`: JWT Service Template - `templates/oauth2-client-template.ts`: OAuth 2.0 Client Template Use proactively when handling authentication flows tasks. |
| version | 1.0.0 |
| level | 1 |
| last_updated | Wed Dec 24 2025 00:00:00 GMT+0000 (Coordinated Universal Time) |
| references | [object Object] |
Authentication Flows スキル
概要
概要
詳細な手順や背景は resources/Level1_basics.md と resources/Level2_intermediate.md を参照してください。
ワークフロー
Phase 1: 目的と前提の整理
目的: タスクの目的と前提条件を明確にする
アクション:
resources/Level1_basics.mdとresources/Level2_intermediate.mdを確認- 必要な resources/scripts/templates を特定
Phase 2: スキル適用
目的: スキルの指針に従って具体的な作業を進める
アクション:
- 関連リソースやテンプレートを参照しながら作業を実施
- 重要な判断点をメモとして残す
Phase 3: 検証と記録
目的: 成果物の検証と実行記録の保存
アクション:
scripts/validate-skill.mjsでスキル構造を確認- 成果物が目的に合致するか確認
scripts/log_usage.mjsを実行して記録を残す
ベストプラクティス
すべきこと
- resources/Level1_basics.md を参照し、適用範囲を明確にする
- resources/Level2_intermediate.md を参照し、実務手順を整理する
避けるべきこと
- アンチパターンや注意点を確認せずに進めることを避ける
コマンドリファレンス
リソース読み取り
cat .claude/skills/authentication-flows/resources/Level1_basics.md
cat .claude/skills/authentication-flows/resources/Level2_intermediate.md
cat .claude/skills/authentication-flows/resources/Level3_advanced.md
cat .claude/skills/authentication-flows/resources/Level4_expert.md
cat .claude/skills/authentication-flows/resources/api-key.md
cat .claude/skills/authentication-flows/resources/jwt.md
cat .claude/skills/authentication-flows/resources/legacy-skill.md
cat .claude/skills/authentication-flows/resources/mtls.md
cat .claude/skills/authentication-flows/resources/oauth2.md
スクリプト実行
node .claude/skills/authentication-flows/scripts/log_usage.mjs --help
node .claude/skills/authentication-flows/scripts/validate-auth-config.mjs --help
node .claude/skills/authentication-flows/scripts/validate-skill.mjs --help
テンプレート参照
cat .claude/skills/authentication-flows/templates/jwt-service-template.ts
cat .claude/skills/authentication-flows/templates/oauth2-client-template.ts
変更履歴
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2025-12-24 | Spec alignment and required artifacts added |