.agent-os/skills/auth/SKILL.md
# Authentication & Authorization Skill > Loaded by: BE-005 (Auth), BE-006 (RBAC) | Version: 1.0 ## Password Handling - Hash with bcrypt (cost >= 12) or argon2; NEVER store plaintext - NEVER log passwords; implement password complexity rules ## JWT Tokens - Access tokens: 15-30 min expiry - Refresh tokens: 7-30 days, rotate on use - Minimal claims in payload; NEVER put sensitive data in JWT ## Session Management - HTTP-only, Secure, SameSite cookies - Implement session invalidation and tra
npx skillsauth add ab-aswini/agent-kit-p1 .agent-os/skills/authInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Loaded by: BE-005 (Auth), BE-006 (RBAC) | Version: 1.0
from passlib.context import CryptContext
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
def hash_password(password: str) -> str:
return pwd_context.hash(password)
def verify_password(plain: str, hashed: str) -> bool:
return pwd_context.verify(plain, hashed)
development
Web application testing principles. E2E, Playwright, deep audit strategies.
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
testing
Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.
development
# Testing Skill > Loaded by: QA Division agents | Version: 1.0 ## Test Pyramid ``` / E2E \ <- Few, slow, expensive / Integr. \ <- Some, moderate / Unit \ <- Many, fast, cheap ``` ## Unit Test Pattern (Arrange, Act, Assert) ```python def test_user_creation(): # Arrange user_data = {"name": "Alice", "email": "[email protected]"} # Act user = UserService.create(user_data) # Assert assert user.name == "Alice" assert user.id is