Skip to content
Back to skills

Forge Error Handling

ASecurity

Handle, propagate and report errors so failures are visible and recoverable

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agents

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-error-handling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Error Handling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Error Handling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-error-handling/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-error-handling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.