solid-errors-error-handling

solid-errors-error-handling is a skill for Claude Code, Codex from OpenAEC-Foundation/OpenAEC-Workspace-Composer. It costs 97 tokens per session (2,393 once invoked), scanned A, original, MIT.

A guide for handling rendering errors and loading states in SolidJS components. An error boundary shows fallback content when part of the interface fails, while Suspense shows content while asynchronous data loads.

In plain words
What is it for?
Use it to add error fallbacks, reset failed sections, show loading states for createResource data, and organize nested error boundaries.
Why use it?
It helps prevent uncaught component errors, missing loading screens, and incorrect recovery behavior.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/openaec-foundation/openaec-workspace-composer/solid-errors-error-handling
Any agent
npx skills add OpenAEC-Foundation/OpenAEC-Workspace-Composer --skill solid-errors-error-handling
Clone the repo
git clone --depth 1 https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer

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 solid-errors-error-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/solid-errors-error-handling.svg)](https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/solid-errors-error-handling)
Your own site
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/solid-errors-error-handling"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/solid-errors-error-handling.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00097 $0.02393
Opus 5 $0.00048 $0.01196
Sonnet 5 $0.00019 $0.00479
Haiku 4.5 $0.00010 $0.00239

Measured 5d ago against content hash af4a8bd49e25, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

solid-errors-error-handling 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 5d 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.

.claude/skills/solidjs/solid-errors/solid-errors-error-handling/SKILL.md · 331 lines

How it starts

The opening of the file, as written. The whole thing — 331 lines — stays where its author put it; the contents beside it link to each section on GitHub.

solid-errors-error-handling

Quick Reference

ErrorBoundary

Aspect Details
Import import { ErrorBoundary } from "solid-js";
Purpose Catches errors in child reactive computations and rendering
Fallback Static JSX or function receiving (err, reset)
Reset Calls reset() to clear error state and re-render children
Version Available since SolidJS 1.0

Suspense

Aspect Details
Import import { Suspense } from "solid-js";
Purpose Shows fallback while createResource calls resolve
Behavior Creates DOM immediately but delays attachment until resources resolve
Nested Each boundary resolves independently
Version Available since SolidJS 1.0

What ErrorBoundary Catches vs Does NOT Catch

Catches Does NOT Catch
Errors during JSX rendering Errors in event handlers (onClick, etc.)
Errors in createEffect Errors in setTimeout / setInterval callbacks
Errors in createMemo Errors in async code outside reactive scope
Errors in createResource Errors in the ErrorBoundary's own fallback
Errors in reactive computations Errors thrown at module/top-level scope

Critical Warnings

NEVER rely on try/catch for rendering errors -- SolidJS rendering is compiled to direct DOM operations. A try/catch in a component body runs once during setup and CANNOT catch errors that occur later in reactive updates.

NEVER throw errors inside an ErrorBoundary fallback function expecting the SAME boundary to catch them -- errors in the fallback propagate to the PARENT boundary. If no parent boundary exists, the error is uncaught.

ALWAYS wrap components using createResource in BOTH <Suspense> AND <ErrorBoundary> -- Suspense handles loading states while ErrorBoundary handles fetch failures.

ALWAYS place <ErrorBoundary> OUTSIDE <Suspense> when protecting against resource errors -- if ErrorBoundary is inside Suspense, a resource error may not display the error fallback correctly.

Read the full file on GitHub · 331 lines

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. 5d ago First seen · 331 lines · 97 tokens per session scan A af4a8bd49e25

Subscribe to this mod's changes

solid-errors-error-handling is a skill published in the GitHub repository OpenAEC-Foundation/OpenAEC-Workspace-Composer (5 stars, last pushed 5mo ago), licensed MIT. It adds 97 tokens to every session and 2,393 once invoked, about $0.0005 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-08-31.

Related

Other skills, from other repositories

ship-release

The Massing release discipline — how to ship a verified, CI-green version-numbered release direct to main. Invoke whenever finishing a shippable change (feature, fix, doc). Covers version bump (both files), CHANGELOG/roadmap notes, the ruff/lint CI gotchas, tag, push, and CI/CodeQL verification.

ibuilder/massing · 74 tokens

security-monitoring

How to monitor and fix security issues in Massing — CodeQL alerts, dependency audits, secret scanning, and ReDoS/XXE fixes. Invoke after a push (standing directive) or when doing a hardening pass. Emphasises that a green CodeQL run != zero alerts.

ibuilder/massing · 65 tokens

massing-bim

Drive a Massing BIM/AEC project from an AI agent over MCP — read a project's status, records, CDE, KPI and model-quality checks; run standards-compliance, schedule-risk, embodied-carbon, permit- readiness and drawing-QA analyses; author the IFC model with GUID-stable recipes; and draft RFIs. Use when the user asks to…

ibuilder/massing · 90 tokens

verify-frontend

How to verify Massing web/viewer UI changes LIVE — full verification works; two historic "stalls" are fixed and neither was the geometry loader. Invoke when you changed apps/web and need to prove it works. Covers typecheck/lint/vitest/build, driving the real app, and honest flagging of flows you genuinely couldn't…

ibuilder/massing · 73 tokens

ara3d-sdk

Use when processing AEC/BIM 3D data in .NET 8 — mesh generation and transformation, SIMD-accelerated math, IFC/STEP/PLY to glTF/GLB/VIM conversion, plugin development. Ara3D-SDK: high-performance .NET 3D geometry and BIM library suite.

znlgis/opengis-skills · 70 tokens

elements

Use when generating building information models (BIM) programmatically in C#/.NET — wall, beam, column, floor creation, geometry kernel (BREP/CSG), glTF/IFC/JSON serialization, MEP systems, spatial grids. Hypar Elements: the smallest useful BIM — a cross-platform C# library for creating building elements without…

znlgis/opengis-skills · 81 tokens