Skip to content
trust-and-recovery logo

Trust and Recovery

trust-and-recovery

Use when designing error handling, confirmation dialogs, undo functionality, or any interaction where user trust matters. Covers building confidence through predictability and graceful failure.

NeverSight/skills_feed0installs215stars

SKILL.md

Full skill instructions

Trust and Recovery

Trust is built through predictability and tested through failure. Users trust systems that behave consistently and recover gracefully when things go wrong.

Evidence Tiers

[Research]   — Peer-reviewed studies, controlled experiments
[Expert]     — Nielsen Norman Group, recognized UX authorities
[Case Study] — Documented examples from major products
[Convention] — Industry practice, limited formal validation

Multiple tags = stronger evidence: [Research][Expert]
Mixed findings noted as: [Research — Mixed]

Research Foundations

Peak-End Rule

[Research][Expert] Daniel Kahneman's research (Nobel Prize in Economics, 2002) established that people judge experiences based on:

  1. The peak moment (most intense, positive or negative)
  2. The end (how it concluded)

They do not average the entire experience.

UX implication: A single graceful recovery can redeem an otherwise frustrating experience. Don't let the last interaction be an error.

Source: Kahneman, D. (1999). Objective happiness. In Well-being: Foundations of hedonic psychology.

Loss Aversion

[Research][Expert] Kahneman & Tversky's Prospect Theory showed losses feel approximately 2x as painful as equivalent gains feel good.

UX implication: Users are highly motivated to avoid losing their work. Auto-save, undo, and data preservation are disproportionately important.

Source: Kahneman, D. & Tversky, A. (1979). Prospect Theory: An Analysis of Decision under Risk.


Undo vs. Confirmation Dialogs

[Expert] Nielsen Norman Group and multiple UX authorities recommend undo over confirmation dialogs in most cases.

Why Confirmation Often Fails

[Expert] From NNg and practitioner observation:

  • Users habitually click "OK" without reading
  • Frequent confirmations train users to ignore them
  • Confirmations interrupt flow

When to Use Each

ApproachUse WhenEvidence
UndoAction is reversible[Expert] NNg
ConfirmationAction is truly irreversible AND destructive[Expert] NNg
NeitherRoutine, low-risk actions[Convention]

[Case Study] Google Drive: No confirmation for moving files to trash (reversible). Confirmation required for emptying trash (irreversible).

Pattern: Undo Toast

[Convention]

[User clicks delete]
[Item disappears immediately]
[Toast: "Item deleted" [Undo] — auto-dismisses in 10s]

Caution: No controlled studies directly comparing undo vs. confirmation outcomes found. This is strong expert consensus, not validated research.

Source: Nielsen Norman - Confirmation Dialogs


Error Message Design

[Expert] Nielsen's Heuristic #9: "Help users recognize, diagnose, and recover from errors."

The Three Questions

Every error message should answer:

  1. What happened? (Clear description)
  2. Why? (Cause, if helpful)
  3. What now? (Recovery path)

Useless:

Error 500: Internal Server Error

Actionable:

Couldn't save your changes — the server is temporarily
unavailable. Your draft has been saved locally.

[Try again] [Continue editing]

[Research] Cognitive Load Theory (Sweller) supports this: vague errors increase extraneous cognitive load.

Source: Nielsen Norman - Error Message Guidelines


Core Patterns

trust-1: Confirm Destructive, Not Routine

[Expert] Only interrupt for truly irreversible actions.

Over-confirming (trains users to ignore):

"Are you sure you want to save?"
"Are you sure you want to go back?"

Appropriate confirmation:

"Delete 47 files permanently? This cannot be undone."
[Cancel] [Delete]

trust-2: Preserve Data Aggressively

[Research] Loss aversion (Kahneman & Tversky) explains why losing work is disproportionately frustrating.

Trust-breaking:

[User writes long comment]
[Accidentally navigates away]
[Returns — comment gone]

Trust-building:

[User writes long comment]
[Accidentally navigates away]
[Returns — draft restored]

Auto-save drafts. Preserve form state. Cache locally.

trust-3: Degrade Gracefully

[Convention] Isolate failures. Don't let one problem cascade.

Brittle:

[One image fails to load]
[Entire page shows error]

Graceful:

[One image fails to load]
[Placeholder shown with retry option]
[Rest of page works fine]

trust-4: Show System Status

[Expert] Nielsen's Heuristic #1: "Visibility of system status."

Opaque:

[User clicks Submit]
[Nothing happens for 3 seconds]
[Suddenly: "Submitted!"]

Transparent:

[User clicks Submit]
[Button shows spinner: "Submitting..."]
[Button changes: "✓ Submitted"]

Recovery Patterns

Pattern: Optimistic UI with Rollback

[Convention]

1. User takes action
2. UI updates immediately (optimistic)
3. Server request in background
4. If success: done
5. If failure: rollback UI + show error + offer retry

Pattern: Forgiving Input

[Expert] Postel's Law: "Be liberal in what you accept."

// Rigid
Phone: [Must be exactly ###-###-####]

// Forgiving
Phone: [Accepts any format, normalizes internally]
"5551234567" → displays as "(555) 123-4567"

Pattern: Graceful Timeout

[Convention]

[Operation takes too long]
"This is taking longer than expected.
 You can keep waiting or try again."
[Keep waiting] [Cancel and retry]

Don't make users guess if something is frozen.


Anti-Patterns

PatternWhy It Breaks TrustEvidence
Silent failuresUser doesn't know something went wrong[Expert] NNg
Generic errorsNo path to recovery[Expert] NNg
Lost form dataPunishes user for system failure[Research] Loss aversion
Inconsistent behaviorCan't build mental model[Expert] Jakob's Law
Hidden data usageFeels deceptive[Convention]

Key Sources

More skills from NeverSight

devops-deployer logo
NeverSight/skills_feed

devops-deployer

Comprehensive DevOps and deployment workflow that orchestrates infrastructure automation, CI/CD pipelines, container orchestration, and cloud deployment. Handles everything from infrastructure as code and pipeline setup to monitoring, scaling, and disaster recovery.

215 1
View
avnu logo
NeverSight/skills_feed

avnu

Integrate avnu SDK for Starknet DeFi: token swaps with best-price routing, DCA recurring buys, native staking, gasless transactions via paymaster, and market data. Use when building Starknet trading, DEX aggregation, or DeFi automation features.

215 0
View
post-to-x logo
NeverSight/skills_feed

post-to-x

发布内容和文章到 X (Twitter)。支持带图片的普通推文和 X Articles(长文)。使用真实的 Chrome 和 CDP 来绕过自动化检测。

215 0
View
ralph-prompt-builder logo
NeverSight/skills_feed

ralph-prompt-builder

Master orchestrator for generating Ralph Wiggum-compatible prompts. Analyzes task requirements and routes to appropriate generator (single-task, multi-task, project, or research). Use when you need to create any Ralph loop prompt and want automatic selection of the right generator.

215 0
View
branch-comparison logo
NeverSight/skills_feed

branch-comparison

Use when the user asks to compare branches, analyze git diffs, review changes between branches, update specifications based on code changes, or analyze what changed. Triggers on keywords like "compare branches", "git diff", "what changed", "branch comparison", "code changes", "spec update".

215 0
View
fastapi-development logo
NeverSight/skills_feed

fastapi-development

Build high-performance FastAPI applications with async routes, validation, dependency injection, security, and automatic API documentation. Use when developing modern Python APIs with async support, automatic OpenAPI documentation, and high performance requirements.

215 0
View
zendesk-chat logo
NeverSight/skills_feed

zendesk-chat

Enables Claude to manage Zendesk Chat conversations, support tickets, and customer service operations

215 0
View
forge logo
NeverSight/skills_feed

forge

Mine transcripts for knowledge - decisions, learnings, failures, patterns. Triggers: "forge insights", "mine transcripts", "extract knowledge".

215 0
View
mixpanel logo
NeverSight/skills_feed

mixpanel

Track product analytics and user behavior with Mixpanel's event-based platform.

215 0
View
ocpp logo
NeverSight/skills_feed

ocpp

OCPP protocol reference for EV charging infrastructure development. Covers OCPP 2.0.1 and OCPP 1.6J. Use when working with OCPP messages, charging station code, CSMS/Central System backends, smart charging, transaction handling, or EV charging protocols. Activates on keywords: OCPP, charging stat...

215 0
View
bee-collect logo
NeverSight/skills_feed

bee-collect

Gather scattered ideas into organized GitHub issues. The bee collects pollen from every flower, checks if the hive already has it, and carefully deposits new work in the comb for later. Never edits code—only organizes the work ahead. Use when creating issues from TODOs or planning work.

215 0
View
vercel-react-native-skills logo
NeverSight/skills_feed

vercel-react-native-skills

Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering performance, animations, UI patterns, and platform-specific optimizations.

215 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View