What problem does it solve? Building secure software requires consistent application of authentication, authorization, input validation, and secrets management patterns, and missing any one of them exposes applications to the OWASP Top 10 risks. ## Core Features & Use Cases - JWT Authentication & RBAC: Provides TypeScript patterns for short-lived access tokens, refresh token rotation, httpOnly cookies, and role-based route guards. - Row Level Security & Input Validation: Includes Supabase/Postgres RLS policy examples and Zod-based schema validation middleware that sanitizes all client input. - OWASP Top 10 Checklist & Secrets Management: Maps each major risk to a concrete mitigation, plus rules for environment variables, rate limiting, bcrypt password hashing, and structured logging with requestId. - Use Case: When building a new API endpoint that handles user data, apply these patterns to add JWT verification, role checks, RLS policies, Zod validation, and rate limiting before shipping. ## Quick Start Ask the agent to review your authentication and API endpoints using the dev-security-patterns skill and apply the JWT, RBAC, RLS, and validation patterns where missing.