What problem does it solve? Building secure authentication and backend APIs involves many subtle failure modes—account enumeration, OTP replay, session fixation, SQL injection, and webhook forgery. This Skill provides a complete, opinionated rulebook so every backend module follows the same secure patterns instead of reinventing them inconsistently. ## Core Features & Use Cases - Mandatory auth flows: Specifies the exact signup/OTP/profile, forgot-password/OTP/reset, and login/2FA sequences, including transaction boundaries and anti-enumeration behavior. - Security rules: Covers OTP generation and storage, refresh token rotation with reuse detection, Argon2id/bcrypt password hashing, rate limiting, and Redis key conventions with TTLs. - Architecture and conventions: Defines the Express + TypeScript + PostgreSQL + Redis stack, the route/controller/service/repository layering, unified response envelopes, and API conventions. - Payments and testing: Guides Stripe integration via the Stripe MCP server with webhook signature verification and idempotency, plus failure-mode end-to-end testing requirements. - Use Case: When scaffolding a new auth module, apply this Skill to generate the signup, verify-OTP, and login endpoints with correct OTP hashing, attempt caps, and session issuance order. ## Quick Start Use the backend-standards skill to review my Express auth module and verify the signup, OTP verification, and login flows follow the mandated security rules.