From coding-agent
Authentication and authorization patterns covering session-based auth, JWT, OAuth 2.0, RBAC, and security best practices. Use when implementing login flows, protecting endpoints, or handling user identity.
How this skill is triggered — by the user, by Claude, or both
Slash command
/coding-agent:auth-patternsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Store session ID in an `httpOnly`, `Secure`, `SameSite=Lax` cookie
httpOnly, Secure, SameSite=Lax cookielocalStorage — use httpOnly cookies or keep the access token in memory onlyiss, aud, exp, and nbf claims on every requeststate parameter to prevent CSRFadmin, editor, viewer)if (resource.ownerId !== req.user.id) return 403crypto.timingSafeEqual)npx claudepluginhub devjarus/coding-agent --plugin coding-agentGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.