Skip to content
Skillpedia
Websites & UI (frontend)75k · #3018

session-timeout-recovery

What it does

This skill checks logged-in flows and long forms for timeouts that can erase work, and adds warnings, saved progress, and recovery after sign-in. It is for teams building accounts, checkouts, and editors.

When to use it

  • ✓When you ask the agent to review a logged-in flow or long form for lost data on timeout.
  • ✓When users lose a form they were filling in after their session expires.
  • ✓When you build an editor or checkout and want users to be warned before the session ends.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/session-timeout-recovery/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/session-timeout-recovery/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Users lose the form they were filling in when their session times out. Can you add a warning and save their progress?”

5 new skills a week. 1 minute to read.

How it works

The agent checks how long the session lasts and adds an accessible warning before it expires. It saves drafts or entered data, lets the user extend the session where allowed, and returns them to the same step after signing in again.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Prevent data loss from session timeouts

Users with cognitive, motor, or vision disabilities may need longer to finish forms and authenticated tasks. Silent session expiry can erase work, force a restart, and block completion of important transactions.

Quick Reference

  • Warn users before a timeout causes lost work
  • Allow time extension for content-controlled time limits when feasible
  • Autosave or preserve entered data across logout and re-authentication
  • Keep timeout dialogs keyboard accessible and announced to assistive technology

Check

Review authenticated flows, forms, and long-running tasks for inactivity timeouts. Verify users are told the timeout duration, warned before expiry, can extend the session when allowed, and can resume after re-authenticating without losing work.

Fix

Add an accessible timeout warning, preserve drafts or submitted data across session expiry, and restore the user to the same step after re-authentication. Where the time limit is content-controlled, offer turn off, adjust, or extend behavior when feasible.

Explain

Explain how timeout warnings, extension controls, autosave, and re-authentication recovery reduce data loss and align with WCAG enough-time guidance.

Code Review

Review authenticated forms, checkout flows, editors, and long-running tasks related to Prevent data loss from session timeouts. Flag routes or components that can expire silently, discard entered data, or block recovery after re-authentication.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/session-timeout-recovery

FAQ

Who benefits most from this?

The skill says people with cognitive, motor, or vision disabilities may need more time, and silent expiry can erase their work.

Does the warning need to be accessible?

Yes. The skill says the dialog must work with the keyboard and be announced to assistive technology.

Can the time limit be extended?

The skill says to offer a turn off, adjust, or extend option where the time limit is set by the content and it is feasible.

Details

Original description by the author

Use when reviewing authenticated user flows or long forms. Check both client and server behavior: warning timing, dialog accessibility, autosave frequency, timeout extension, and post-login state restoration.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#3018
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills