backend-auth

Installation
SKILL.md

Backend Auth

Owns how callers prove who they are (AuthN) and what they may do (AuthZ). It designs the mechanism, writes the auth core code, persists the decision, and hands the negative-test matrix to backend-test.

When to Use

  • Designing or choosing login, sessions, tokens, OAuth/OIDC, SSO, or API keys.
  • Writing or fixing token verification, auth middleware, password flows, MFA, or the authorization gate.
  • Defining roles, permissions, ownership, or tenant isolation.
  • Reviewing or hardening an existing auth flow (review mode, below).

Not this skill:

  • A broad security review (OWASP API Top 10, secret scanning, SAST, supply chain): use backend-security. It hands auth fixes back here.
  • Writing or applying migrations for user, token, or RLS tables: design with backend-db-design, write and apply with backend-migrate.
  • Feature endpoints that merely need "logged-in user" checks: backend-implement, consuming the auth contract this skill records.
  • An auth bug with a known symptom (e.g. "login returns 500"): backend-debug, which may call this skill for the fix design.

Modes

Installs
4
GitHub Stars
17
First Seen
Jun 17, 2026