In short.
error-boundary is a React development skill for developers and coding assistants designing failure recovery, but its snippets require review and adaptation. Its strongest contribution is a hierarchy that separates app, page, section, and widget failures, with examples for fallback interfaces, monitoring, and recovery. The document mixes custom and library fallback contracts, provides an incomplete offline story, and leaves application functions and dependencies unspecified. No code was executed, so compilation, dependency compatibility, and actual recovery behavior are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises skills/error-boundary/SKILL.md, the only selected file in the supplied complete-scope manifest, plus the repository root LICENSE as a related notice. Other repository skills, dependency source code, package metadata, external documentation, and hosted services are outside this evidence. Compilation, assistant loading, browser behavior, framework integration, and recovery tests were not executed.
The overview
Identity
The resource is skills/error-boundary/SKILL.md in vibeeval/vibecosystem. Its metadata names the skill error-boundary and describes React boundary hierarchies, fallback interfaces, retries, offline fallback, and graceful degradation. It is an instruction and example document rather than a complete application or installable React library.
The captured source is pinned to revision 9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a: [https://raw.githubusercontent.com/vibeeval/vibecosystem/9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a/skills/error-boundary/SKILL.md].
Assessment
Its main value is helping developers decide how much of an interface should be replaced when a component fails. The dashboard examples make the intended outcome concrete: an unavailable chart can receive a small placeholder while neighboring widgets remain available.
Treat it as a reference requiring engineering review. Repeated sections offer useful variations but use different fallback contracts, and several snippets depend on missing application code. It does not establish a working implementation as supplied.
Users
React developers building dashboards or pages with independent sections are the clearest audience. Beginners can use the hierarchy and fallback examples to understand failure isolation; experienced developers can examine navigation resets, query recovery, and monitoring integration.
Coding assistants can use the document as implementation guidance, but no assistant-specific installation procedure, supported host, or invocation mechanism is supplied. Teams seeking a complete offline synchronization system will need additional implementation.
Capabilities
The document illustrates a custom class boundary and react-error-boundary usage; nested app, page, section, and widget boundaries; full-page and inline fallbacks; retry controls; and recovery when navigation changes.
Additional examples cover Sentry reporting, TanStack Query reset integration, browser connectivity indicators, cached-data fallback, development-only stack displays, and tests for fallback rendering and recovery. These are documented patterns, not demonstrated runtime capabilities.
Using it
Requirements
Using the examples requires React and familiarity with TypeScript or TSX. Library examples import react-error-boundary. Optional integrations reference next/navigation, @sentry/nextjs, @tanstack/react-query, Testing Library, user-event, and Vitest-style vi functions.
The snippets also require application components, reporting functions, data access, cache behavior, and matching styles. Dependency versions, a complete package manifest, supported React and Next.js versions, and assistant-host compatibility are not supplied.
Mechanism
The custom boundary stores an error in component state and renders a fallback instead of its children. Its reset function clears that state so the children can render again. Nesting boundaries narrows the area replaced by a fallback.
The document connects recovery to navigation through a pathname key or resetKeys, and to data fetching through query reset or invalidation callbacks. Clearing boundary state does not itself repair the failing component or implement a network retry.
Setup
Choose the custom boundary or the library approach before adapting examples. The document gives npm install react-error-boundary for the library option. Add application-specific fallbacks, decide which components need independent boundaries, and connect recovery to the relevant data state.
Reconcile callback properties before integration: the custom fallback interface uses reset, while the library example in the preserved patterns uses resetErrorBoundary. Supply missing imports and referenced functions, then configure any optional query or monitoring integration separately.
Example
The dashboard example wraps Revenue Chart, User Stats, Activity Feed, and Notifications separately in WidgetErrorBoundary. Its intended behavior is that a chart failure displays a chart-specific placeholder while the other widgets continue rendering.
For data recovery, StatsWidget attempts fetchStats, then getCachedStats, and displays cached results as stale if available. If neither succeeds, it throws an error for a boundary to handle. The fetching, caching, and display functions are placeholders; this is not a complete offline implementation.
Assessment & evidence
Limitations
Fallback contracts are inconsistent. Several fallbacks expect reset but are passed directly to the imported library boundary, while the preserved library example expects resetErrorBoundary. This indicates a potential unwired retry handler unless an adapter or matching contract is used; runtime behavior was not assessed.
The three-attempt retry counter lives inside the fallback component. It does not establish a durable attempt limit across fallback unmounts and remounts. A separate navigation-reset helper is placed inside boundary children, so its continued operation while those children are replaced by a fallback is not established.
The offline banner observes browser connectivity events but implements no queued writes, synchronization, or conflict resolution despite promising that changes will sync. A production fallback also says the team has been notified without requiring a reporting callback. Those messages need corresponding implementation or revised wording.
Despite the hierarchy's broad top-level description, the examples do not demonstrate coverage of event-handler failures, arbitrary asynchronous errors, or server-rendering failures. No compilation, accessibility, recovery, or integration results are provided.
Design reasoning
The hierarchy follows the independence of interface features: a noncritical widget receives a small fallback, while a page or app failure receives a larger recovery screen. This provides a useful starting point for choosing boundary placement.
Recovery should address the failure's cause. The source's query reset and invalidation examples connect the retry action to data state, while its cached-data example preserves useful content when fresh data is unavailable. Their effectiveness depends on application behavior that the document does not supply.
Alternatives
The document presents three implementation routes: a custom React class boundary, react-error-boundary components and hooks, and a Next.js App Router error.tsx example. The custom route exposes the state and reporting logic; the library route demonstrates reusable fallback and reset interfaces; the Next.js route places a fallback in a route-specific file.
These approaches are illustrated rather than compared through measurements. Relative maintenance effort, version compatibility, and behavior in a particular application remain unknown.
Evidence
The available source consists of the complete selected SKILL.md and the accompanying root LICENSE at the same repository revision. The skill provides implementation snippets and illustrative tests, but no execution logs, package lockfile, benchmark results, or demonstrated application journey.
The technical findings above come from reading those examples. Nothing was executed, and the included test code is not evidence of passing tests.
Access & freshness
Costs
The MIT license grants permission to use and modify the supplied material free of charge. The skill specifies no model provider, token budget, subscription, or mandatory hosted service.
Implementation effort, assistant usage charges, hosting, and any monitoring-service costs are unknown. The document contains no cost measurements or pricing information for its optional integrations.
Rights
The accompanying repository license is MIT, copyright 2026 vibeeval. It permits use, copying, modification, distribution, sublicensing, and sale, provided the copyright and permission notices accompany copies or substantial portions. The material is supplied without warranty.
The captured license is available at [https://raw.githubusercontent.com/vibeeval/vibecosystem/9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a/LICENSE]. Separate dependency licenses and hosted-service terms are not established by this notice.
Freshness
The supplied snapshot was captured on 17 November 2026 at 07:12:55.838 UTC and identifies revision 9ef6d7266b2d4e9ee1d3460a3e2f3bda8a9c187a. These findings apply to that revision.
The supplied material does not establish the skill's last modification date, a release version, or compatibility with current dependency releases. Later repository changes are unknown.
Actions before use
Start with one independent widget and define the expected fallback and recovery behavior. Use a consistent fallback contract, provide the missing application functions and imports, and make retry actions repair or refresh the relevant state.
Before broader adoption, verify failure isolation, repeated retries, navigation during a failure, and query recovery in the intended application. Ensure fallback messages accurately reflect implemented reporting and synchronization. Review production error displays and retain the MIT notices when copying or distributing the material.
