error-boundary-creator
Skill321 starsChanged 2 months agoMITView on GitHub
Create error boundaries, error handling, and fallback UIs for React applications. Use when implementing error handling, creating fallback components, or setting up error reporting.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- th-efool/SKILLSword for word, first seen Aug 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- th-efool/SKILLS★ 1100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository228 other files it gives its agents.
- accessibility-auditorSkill
- agent-armySkill
- agent-eval-harnessSkill
- agent-swarm-deployerSkill
- agent-team-builderSkill
- agent-to-agentSkill
- ai-coding-guardrailsSkill
- ai-readiness-assessmentSkill
- animateSkill
- api-documentation-writerSkill
- api-endpoint-scaffolderSkill
- api-load-testerSkill
- athlete-social-media-managerSkill
- before-you-buildSkill
- bi-measure-builderSkill
- board-deck-generatorSkill
- bookkeeping-closeSkill
- bracket-predictorSkill
- brand-consistency-checkerSkill
- brand-voice-analyzerSkill
- browser-test-loopSkill
- budget-optimizerSkill
- cash-flow-forecasterSkill
- champion-identifierSkill
- churn-autopsySkill
- claude-design-criticSkill
- claude-design-system-architectSkill
- claude-landing-composerSkill
- claude-md-writerSkill
- client-health-dashboardSkill
- client-proposal-generatorSkill
- code-review-proSkill
- cold-email-sequence-generatorSkill
- color-palette-extractorSkill
- commercial-lease-analyzerSkill
- company-announcement-writerSkill
- competitor-content-analyzerSkill
- competitor-intel-agentSkill
- competitor-price-trackerSkill
- compliance-checkerSkill
- contact-hunterSkill
- content-repurposerSkill
- context-budgetSkill
- contract-analyzerSkill
- contract-redlinerSkill
- conversation-archaeologistSkill
- cowork-calendar-defragSkill
- cowork-contract-renewal-radarSkill
- cowork-data-room-builderSkill
- cowork-deal-roomSkill
- cowork-expense-auditSkill
- cowork-folder-organizerSkill
- cowork-hiring-screenerSkill
- cowork-home-inventorySkill
- cowork-inbox-triageSkill
- cowork-invoice-chaserSkill
- cowork-medical-bill-auditorSkill
- cowork-qbr-builderSkill
- cowork-rfp-responseSkill
- cowork-sop-writerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Add resilient error handling to React and Next.js apps: error boundaries, fallback UIs, async error handling, and error reporting.
- Distinctive: line 30
Do not catch errors the code cannot meaningfully handle.
- Distinctive: line 31
Test error states in development.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
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
- 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

