AGENT SKILL

auth-ux

暂无简介

License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

02 资源文件 1

03 SKILL.md 正文

Auth UX

Follow ../_shared/skill-contract.md.

Purpose

Design login, signup, recovery, and session UX that is clear and safe.

Use when

  • the task is about user-facing authentication flow
  • you need login state, recovery state, or session expiration UX

Do not use when

  • the task is about backend token implementation
  • the task is about framework routing

Inputs required

  • auth flow goal
  • available entry points
  • known session states

Outputs expected

  • page/state flow
  • component split
  • validation and error behavior

Workflow

  1. Define the auth scenario.
  2. List states and transitions.
  3. Decide what is reusable.
  4. Add recovery and failure behavior.
  5. Verify copy, accessibility, and tests.

Validation checklist

  • [ ] States are explicit
  • [ ] Recovery is present
  • [ ] No token logic leaks into UI primitives

References

  • ../../prompts/new_feature.md
  • ../../examples/profile-state-flow.md

04 同仓库更多 Skills