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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
Popularity
- GitHub stars
- 75k
- Ranking position
- #3018
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.