Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Forge Error Handling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-forge-error-handling)
---
name: forge-error-handling
description: Handle, propagate and report errors so failures are visible and recoverable
---
<!-- Generated from catalog/skills/error-handling/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->
# Error Handling
- Never swallow errors; handle them where you can act, otherwise propagate with context.
- Distinguish expected failures (validation, not found) from bugs; return the former, throw/panic for the latter.
- Add timeouts and bounded retries (with backoff and jitter) only for idempotent operations.
- Log once, at the boundary, with structured context and no secrets.
- Show users actionable messages; keep stack traces for logs.
## Verify
Tests force each new failure path (timeout, invalid input, dependency error) and assert the user-facing message, the logged context, and that no secret appears in either.