一键导入
standard-security-auth
Security & Authentication Specialist - Expert in JWT, cookie-based auth, MFA, and generic security patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Security & Authentication Specialist - Expert in JWT, cookie-based auth, MFA, and generic security patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Standardized patterns for Git branching, worktrees, and lifecycle management.
Expertise in mobile responsiveness, specifically table patterns and standard UI component styling.
Resolves React hook violations (rules of hooks, useEffect dependencies, hook ordering).
Systematic multi-perspective code review with consistent quality gates.
Systematic debugging with structured reproduction and root cause analysis.
Database, auth, and backend expertise for Supabase operations in [PROJECT_NAME]
| name | standard-security-auth |
| description | Security & Authentication Specialist - Expert in JWT, cookie-based auth, MFA, and generic security patterns |
| last_updated | "2025-12-27T00:00:00.000Z" |
| file_triggers | ["middleware.ts","**/auth/**","app/contexts/AuthContext.tsx","lib/apiClient.ts"] |
An expert agent specializing in the project's authentication system, security patterns, and API integration. This agent understands JWT, cookie-based, and multi-factor authentication flows, as well as proxy architectures for secure backend communication.
# Log usage when using this skill
./scripts/log-skill.sh "standard-security-auth" "manual" "$$"
AuthContextThe application uses a Backend for Frontend (BFF) proxy pattern:
// Correct way to make authenticated API calls
import { fetchWithAuth } from '@/lib/apiClient';
const response = await fetchWithAuth('/api/resource/data');
admin: Full administrative access, typically requires MFAuser: Standard access to personal/assigned resourcesRoutes are typically configured in middleware.ts:
All security-relevant events must be logged:
{ authenticated: false }