Skip to content
Back to skills

Error Handling

ASecurity

Implement explicit failure semantics, bounded retries and recovery. Triggers on "error handling", "错误处理".

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 4, 2026
ai-agentsdebugging

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add int2t05/engineering-skills --skill error-handling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Error Handling?

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

Security grade badge for Error Handling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/int2t05-error-handling/badge)](https://www.skillsdirectory.com/skills/int2t05-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: error-handling
description: Implement explicit failure semantics, bounded retries and recovery. Triggers on "error handling", "错误处理".
---

# Error Handling

## When to use

- Implement explicit failure semantics, bounded retries and recovery.

**Not for:** debugging for a defect; incident-response for live containment.

## Steps

1. Identify operations, failure classes, ownership and user consequences.

2. Choose consistent boundary errors or results, preserve causes and sanitize public output.

3. Retry only transient failures with budgets and safe idempotency; add timeouts, cancellation or circuits when required.

4. Exercise real code with controlled failure inputs and verify recovery, telemetry and user feedback.

## Verify

- Errors are not swallowed; retries terminate and repeated actions and recovery have evidence.

## References

- [engineering-principles.md](../../../references/engineering-principles.md) — shared decision boundaries, scope and verification.
- [error-resilience.md](../../../skills/03-design/architecture/references/error-resilience.md) — system-level resilience architecture (cross-layer error propagation, failure posture); this skill is its implementation-level companion
- [references/retry-patterns.md](references/retry-patterns.md) — backoff/jitter formulas, circuit breaker state machine, idempotency-key patterns, retry budgets (with code)

Files in this skill

  • SKILL.md7.2 KB
  • agents/openai.yaml160 B
  • references/retry-patterns.md6.7 KB

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.