Authentication & Authorization
Implements secure user authentication and authorization patterns for production-grade applications.
This skill provides Claude with domain expertise for architecting and implementing robust security layers, covering everything from basic password hashing and session management to complex OAuth2 flows and Role-Based Access Control (RBAC). It ensures industry best practices are followed—such as NIST-compliant password policies and secure cookie handling—while offering stack-specific recommendations for popular providers like NextAuth, Clerk, and Supabase. Whether you are bootstrapping a new login system or auditing existing auth code for vulnerabilities, this skill provides the necessary patterns to prevent common security pitfalls.
主な機能
01Standardized login, signup, and password reset workflows
020 GitHub stars
03Granular Role-Based Access Control (RBAC) server-side middleware
04Secure session management using httpOnly cookies and JWT rotation
05Implementation of social login via OAuth2 and OIDC patterns
06Comprehensive security audits to identify red flags and vulnerabilities
ユースケース
01Adding social login (Google/GitHub) to a Next.js or React application
02Migrating from insecure localStorage tokens to secure httpOnly cookies
03Implementing Multi-Factor Authentication (MFA) and email verification flows