agentleFS
parhambparhamb/design-skills/ux-user-account/SKILL.md

ux-user-account

Skill21 starsChanged 5 months agoMITView on GitHub

User account and authentication UX: login, logout, social sign-in and SSO, password recovery, session management, gestures and shortcuts, and account deletion. Use when designing or reviewing authentication, user profiles, account settings, or any interaction that requires a signed-in user.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Persistent session: Use refresh tokens to keep users logged in silently.

    line 45
  2. Distinctive:

    Never force a re-login simply because an access token expired.

    line 46
  3. Distinctive:

    Graceful post-logout state: After logging out, return the user to the home or sign-in screen with a clear path back in.

    line 53
  4. Distinctive:

    When applying this checklist to a screen, flow, or codebase:

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

User Account UX

The account experience spans from first login to long-term retention. Every friction point in authentication is a potential drop-off. Every confusing account flow erodes trust.


Checklist

ItemGuidance
Social and SSO loginSign in with Apple is required on iOS if any social login exists. Google is standard everywhere.
Logout confirmationOne dialog with a clear consequence: "You will need your password to sign back in."
Push notification opt-outPer-category toggles in Settings. Do not reduce it to a single on/off switch. See ux-notifications.
Forgot passwordEmail link or SMS OTP. Links expire after 15 minutes.
Thumb-friendly key actionsPrimary call to action is always within the bottom 40% of the screen.
Gesture supportSwipe-to-delete is supported with an undo snackbar immediately after.
Custom gesturesUser can define custom gestures for frequently used actions.
Custom shortcutsUser can define personal shortcuts to key screens or actions.
Password manager supportAutofill works on all login and registration fields. Password fields allow paste and use correct content type hints.
Browse without accountUsers can explore content without registering. The value wall comes after the value.
Last activity savedApp restores the user's last position or in-progress action on relaunch.
Success feedbackA toast or snackbar confirms low-stakes actions. A modal confirms high-stakes ones.
Delete accountAccount deletion is available and removes all associated data. Required by Apple and GDPR.
Location accessApp requests location only when a feature genuinely needs it, with a clear reason.

Patterns

Progressive sign-up: Let users experience the core value of the app before asking for an account. Prompt for sign-up only when the user tries to save, share, or access personalized content. This consistently outperforms a hard login wall.

Persistent session: Use refresh tokens to keep users logged in silently. Never force a re-login simply because an access token expired. Handle token refresh invisibly in the background.

Biometric re-entry: Require biometric confirmation (Face ID, fingerprint) to re-enter the app after a background period, not just at first login. This balances security with convenience.

Graceful post-logout state: After logging out, return the user to the home or sign-in screen with a clear path back in. Never leave them on a broken or blank screen.


How to Review

When applying this checklist to a screen, flow, or codebase:

  1. Go through every checklist item and mark it Pass, Fail, or N/A — never skip items silently.
  2. Cite specific evidence for each finding: the screen, component, file, or line it applies to.
  3. Tag each failure with a severity: Blocker (breaks the experience), Major (hurts usability), or Minor (polish).
  4. End the review with the top 3 recommended fixes, ranked by user impact.

Related Skills

  • ux-safety-privacy — biometrics, 2FA, passkeys, and permission prompts
  • ux-forms — input types, validation, and autofill on auth forms
  • ux-settings — account section structure and destructive action placement
  • ux-notifications — notification opt-in timing and granularity

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.