error-boundary-creator
/error-boundary-creator
Tworzy granice błędów, obsługę błędów i widoki zastępcze w aplikacjach React oraz konfiguruje raportowanie błędów.
- Autor
- OneWave-AI ↗
- Repozytorium
- claude-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 19.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 19.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy granice błędów, obsługę błędów i widoki zastępcze w aplikacjach React oraz konfiguruje raportowanie błędów.
Oryginalny opis (EN)
Create error boundaries, error handling, and fallback UIs for React applications. Use when implementing error handling, creating fallback components, or setting up error reporting.
Jak działa
- Workflow
- Contents
- Best Practices
Podgląd SKILL.md
--- name: error-boundary-creator description: 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 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 1. Wrap at the route level for page-level isolation, and wrap third-party components separately. 2. Provide meaningful fallbacks with a recovery option. 3. Log every caught error to the monitoring service. 4. Do not catch errors the code cannot meaningfully handle. 5. Test error states in development.
Pliki w paczce (4)
- SKILL.md 2 KB
- references/async-and-reporting.md 2 KB
- references/class-boundaries.md 4 KB
- references/nextjs-error-handling.md 2 KB
Wersje
W bazie nie ma innych skilli o nazwie error-boundary-creator.
Migawka bazy z 13.11.2026 · wersja paczki aa3be323f465 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90frontend-error-handling
Wdraża obsługę błędów w interfejsie: granice błędów, awaryjny widok, łagodne ograniczanie funkcji i raportowanie do monitoringu. - 90error-handling
Projektuje hierarchie błędów, granice błędów w React, ponawianie i zapasowe ścieżki, odpowiedzi API oraz śledzenie błędów w Sentry. - 95go-error-handling
Pomaga obsługiwać błędy w aplikacjach Go: opakowywanie błędów, błędy sentinel i własne typy błędów. - 100backend-error-handling
Wdraża wzorce obsługi błędów: error boundaries, toasty i jeden spójny format błędów API. - 100error-handling
Zapewnia spójną obsługę błędów we frontendzie i backendzie: granice błędów, handlery wyjątków i bloki try/catch, z przykładami w React i Pythonie. - 100error-handling-strategy
Wdraża scentralizowaną obsługę błędów (RFC 7807), circuit breakery i komunikaty zastępcze dla użytkownika.