Skip to content
onewave-ai avatar

Error Boundary Creator

Fallback UI and error reporting toolkit for React and Next.js apps, covering boundaries, async errors, and monitoring.

CCM score
46 of 100
skills.sh installs
328
GitHub stars
451
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers error boundaries, async and event-handler error handling, Next.js App Router error files, and error reporting
  • Includes class boundary, resettable boundary, and react-error-boundary patterns, plus useAsync and a reportError integration module
  • Guides the use of error.tsx, global-error.tsx, and not-found.tsx segment files for App Router route isolation
  • Designed for React and Next.js teams that need fallback UIs with recovery actions and a single monitoring sink

Install

$ npx -y skills add onewave-ai/claude-skills --skill error-boundary-creator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Error Boundary Creator

Add resilient error handling to React and Next.js apps: error boundaries, fallback UIs, async error handling, and error reporting.

Workflow

  1. Identify error-prone areas: async operations, third-party integrations, and route-level entry points.
  2. Wrap components in an error boundary. Use a class boundary or the react-error-boundary library. See references/class-boundaries.md.
  3. For Next.js App Router, add the relevant error.tsx, global-error.tsx, and not-found.tsx segment files. See references/nextjs-error-handling.md.
  4. Handle errors that boundaries miss (event handlers, promises) and wire up reporting. See references/async-and-reporting.md.
  5. Design fallback UIs with role="alert" and a recovery action (reset or reload).
  6. Route caught errors to a single reporting sink and test error states before shipping.

Contents

  • references/class-boundaries.md — Basic, resettable, and react-error-boundary patterns.
  • references/nextjs-error-handling.md — App Router error.tsx, global-error.tsx, not-found.tsx.
  • references/async-and-reporting.md — useAsync hook and the reportError integration module.

Best Practices

Details

Repository
github.com/onewave-ai/claude-skills
Categories
Frontend & UI Code, Debugging
First seen
Jun 3, 2026

Questions

What does the error-boundary-creator skill do?

error-boundary-creator adds resilient error handling to React and Next.js apps. It covers error boundaries, fallback UIs, async error handling, and error reporting.

How do I install the error-boundary-creator skill?

Run npx -y skills add onewave-ai/claude-skills --skill error-boundary-creator -y in your project. After that, the agent can wrap React components in error boundaries and design fallback UIs with a reset or reload action.

Does error-boundary-creator support Next.js App Router?

Yes, error-boundary-creator covers App Router segment files such as error.tsx, global-error.tsx, and not-found.tsx. It also explains how to route caught errors to a single reporting sink.

Where does error-boundary-creator stand in its category?

error-boundary-creator is listed in the Frontend and UI Code category. It sits alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps, and focuses specifically on error handling.

Who should use the error-boundary-creator skill?

error-boundary-creator suits React developers who want to isolate failures at route level and around third-party components. It guides them to handle errors that boundaries miss, such as event handlers and promises.

More from onewave-ai/claude-skills

All 104

Similar to Error Boundary Creator

More Frontend & UI Code