error-recovery-and-resilience_skill

This skill helps you build resilient UI with layered error boundaries, retries, and fallback orchestration to improve user experience.
  • HTML

1

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill harborgrid-justin/lexiflow-premium --skill error-recovery-and-resilience

  • SKILL.md903 B

Overview

This skill teaches how to engineer resilient UI systems using layered error boundaries, retry policies, and fallback orchestration. It focuses on isolating failures so user-facing regions can recover independently without a full app reload. The guidance covers telemetry integration and chaos-testing strategies to validate improvements.

How this skill works

The skill inspects UI component hierarchies and recommends placement of nested error boundaries to contain failures. It defines retry policies (exponential backoff with jitter) and coordinates fallback UIs and automated recovery flows. Telemetry hooks record boundary activations, retries, and final outcomes to drive further tuning and alerting.

When to use it

  • When single-component failures must not crash the entire application
  • When network-dependent UI regions need automated retry and graceful degradation
  • When you need observable recovery paths for incident analysis
  • When introducing features that should tolerate partial outages
  • When validating resilience improvements with chaos-testing

Best practices

  • Place fine-grained error boundaries around independent UI regions, and broader boundaries at layout-level
  • Combine exponential backoff with jitter to avoid synchronized retry storms
  • Expose clear, minimal fallback UIs that offer retry or safe alternatives
  • Emit structured telemetry for boundary triggers, retry attempts, and user actions
  • Run targeted chaos tests and use results to refine containment and timeout thresholds

Example use cases

  • Recovering a comments widget while keeping the rest of the page interactive
  • Retrying a payment method fetch with exponential backoff and showing a cached fallback
  • Orchestrating a staged fallback: lightweight view, then cached data, then retry option
  • Measuring user impact by correlating boundary activations with session metrics
  • Validating error containment via simulated downstream service failures

FAQ

Start with boundaries around independently meaningful UI regions (widgets, panels) and adjust granularity based on failure patterns and telemetry.

When should I prefer fallback UI over automatic retry?

Use retries for transient failures with short-lived recoverability; show a fallback UI when retries exceed limits or when user action is required.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
error-recovery-and-resilience skill by harborgrid-justin/lexiflow-premium | VeilStrat