error-boundary-creator

error-boundary-creator is a skill for Claude Code, Codex from OneWave-AI/claude-skills. It costs 37 tokens per session (377 once invoked), scanned A, original, MIT.

A guide for adding error boundaries and fallback screens to React and Next.js applications. These screens can show a recovery option when part of the application fails.

In plain words
What is it for?
Use it to add React error boundaries, Next.js error files, fallback interfaces, error reporting, recovery actions, and tests for failure states.
Why use it?
It prevents one broken component or route from leaving users with an unusable page. It also covers errors from asynchronous work, event handlers, and third-party services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add React error boundaries, Next.js error files, fallback interfaces, error reporting, recovery actions, and tests for failure states.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onewave-ai/claude-skills/error-boundary-creator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OneWave-AI/claude-skills --skill error-boundary-creator
Clone the repo
git clone --depth 1 https://github.com/OneWave-AI/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for error-boundary-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/onewave-ai/claude-skills/error-boundary-creator/github.svg)](https://agentmods.dev/skills/onewave-ai/claude-skills/error-boundary-creator)
Your own site
<a href="https://agentmods.dev/skills/onewave-ai/claude-skills/error-boundary-creator"><img src="https://agentmods.dev/badge/skills/onewave-ai/claude-skills/error-boundary-creator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for error-boundary-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/onewave-ai/claude-skills/error-boundary-creator"><img src="https://agentmods.dev/badge/skills/onewave-ai/claude-skills/error-boundary-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00377
Opus 5 $0.00018 $0.00188
Sonnet 5 $0.00007 $0.00075
Haiku 4.5 $0.00004 $0.00038

Measured 9d ago against content hash e7db3d691f26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

error-boundary-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

error-boundary-creator/SKILL.md · 32 lines

What it actually says

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.
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 32 lines · 37 tokens per session scan A e7db3d691f26

Subscribe to this mod's changes

error-boundary-creator is a skill published in the GitHub repository OneWave-AI/claude-skills (291 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 377 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/oh-my-openagent · 49 tokens

ambience-skill

Layer A ambience-and-typographic-motion reference anchored to the react-bits catalog (reactbits.dev). Stacks on any style skill whenever work adds a hero atmosphere, an animated or shader background, a typographic reveal (split, blur, shimmer, typewriter, count-up, marquee), scroll storytelling, or card surface…

code-yeongyu/oh-my-openagent · 132 tokens

tanstack-start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 +…

jezweb/claude-skills · 115 tokens

tailwind-theme-builder

Set up Tailwind v4 + shadcn/ui themed UI with dark mode. Install deps, configure CSS variables via @theme inline, wire dark mode toggle, verify. Use whenever the user mentions Tailwind v4, setting up Tailwind theming, shadcn/ui colours, dark mode, or troubleshooting colours not working, tw-animate-css errors, @theme…

jezweb/claude-skills · 98 tokens

react-native

React Native and Expo patterns for building performant mobile apps. Covers list performance, animations with Reanimated, navigation, UI patterns, state management, platform-specific code, and Expo workflows. Use when building or reviewing React Native code. Triggers: 'react native', 'expo', 'mobile app', 'react native…

jezweb/claude-skills · 91 tokens

react-patterns

React 19 performance patterns and composition architecture for Vite + Cloudflare projects. 50+ rules ranked by impact — eliminating waterfalls, bundle optimisation, re-render prevention, composition over boolean props, server/client boundaries, and React 19 APIs. Use when writing, reviewing, or refactoring React…

jezweb/claude-skills · 110 tokens