
Error Boundary Creator
Generates error boundaries and fallback UIs for React apps, with examples for both class-based boundaries and the react-error-boundary library. Includes Next.js-specific implementations for error.tsx, global-error.tsx, and not-found.tsx files in the App Router. Also covers async error handling patterns and error reporting integration stubs for services like Sentry. The resettable error boundary pattern is nice for letting users retry failed operations without a full page reload. Most useful when you're setting up error handling infrastructure in a new project or need to wrap third-party components that might throw. The code examples are production-ready and include proper TypeScript types throughout.
- skills.sh installs
- 311
- GitHub stars
- 422
- last updated
- Aug 21, 2026
Install
$ npx -y skills add onewave-ai/claude-skills --skill error-boundary-creator --agent claude-codeInstalls into .claude/skills of the current project.
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
- Identify error-prone areas: async operations, third-party integrations, and route-level entry points.
- Wrap components in an error boundary. Use a class boundary or the
react-error-boundarylibrary. See references/class-boundaries.md. - For Next.js App Router, add the relevant
error.tsx,global-error.tsx, andnot-found.tsxsegment files. See references/nextjs-error-handling.md. - Handle errors that boundaries miss (event handlers, promises) and wire up reporting. See references/async-and-reporting.md.
- Design fallback UIs with
role="alert"and a recovery action (reset or reload). - Route caught errors to a single reporting sink and test error states before shipping.
Contents
- references/class-boundaries.md — Basic, resettable, and
react-error-boundarypatterns. - references/nextjs-error-handling.md — App Router
error.tsx,global-error.tsx,not-found.tsx. - references/async-and-reporting.md —
useAsynchook and thereportErrorintegration module.
Best Practices
Sponsors
Details
- Repository
- github.com/onewave-ai/claude-skills
- Categories
- Frontend Development, Debugging
- First seen
- Jun 3, 2026
More from onewave-ai/claude-skills
All 108- Docker Debugger309
- Scout309
- Test Coverage Improver306
- Env Setup Wizard303
- Regex Visual Debugger302
- Landing Page Copywriter6.6K
- Code Review Pro2.6K
- Screenshot To Code1.5K
- Csv Excel Merger1.2K
- Technical Writer1.1K
- Sports Betting Analyzer850
- Css Animation Creator830
- Social Media Content Repurposer775
- Job Application Optimizer721
- Workout Program Designer707
- Knowledge Base Builder684
- Color Palette Extractor649
- Stock Photo Finder613
- Font Pairing Suggester601
- Itinerary Optimizer598
- Presentation Design Enhancer596
- Quiz Maker539
- Cold Email Sequence Generator519
- Linkedin Sales Navigator Alt510