error-boundary-creator
БесплатноБез исполняемых скриптовНе проверенCreate error boundaries, error handling, and fallback UIs for React applications. Use when implementing error handling, creating fallback components, or…
от OneWave-AI★ 454 звезды на GitHubОб этом скилле
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
- Wrap at the route level for page-level isolation, and wrap third-party components separately.
- Provide meaningful fallbacks with a recovery option.
- Log every caught error to the monitoring service.
- Do not catch errors the code cannot meaningfully handle.
- Test error states in development.
Установить error-boundary-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл error-boundary-creator?
Create error boundaries, error handling, and fallback UIs for React applications. Use when implementing error handling, creating fallback components, or setting up error reporting.
Как установить скилл error-boundary-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл error-boundary-creator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic