Skip to content
Back to skills

Error Boundaries

ASecurity

Design failure handling for operations involving retries, external services, persistence, or user-visible recovery.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 13, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add sujith011/agentic-pro-skills --skill error-boundaries --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Error Boundaries?

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

Security grade badge for Error Boundaries
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sujith011-error-boundaries/badge)](https://www.skillsdirectory.com/skills/sujith011-error-boundaries)

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-boundaries
description: "Design failure handling for operations involving retries, external services, persistence, or user-visible recovery."
---

# Error Boundaries
Make failures distinguishable and recovery intentional.

## Process
1. Enumerate expected failure categories and their effect on state.
2. Map each to user behavior, typed error/code, logging, and retry policy.
3. Retry transient failures only with a bound, timeout, backoff, and idempotency where side effects exist.
4. Preserve original causes internally while excluding secrets and internals from public errors.
5. Test failure paths, cancellation, and partial success where applicable.

## Example
A payment timeout may mean "outcome unknown." Query by idempotency key before retrying rather than risking another charge.

## Stop conditions
Do not silently swallow failures, retry indefinitely, or report success after an incomplete operation.

## Evidence
- [ ] Failure categories and state effects are explicit.
- [ ] Retry bounds and duplicate-effect prevention are tested.
- [ ] Users have an actionable recovery path.

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.

Comments

Loading comments…

Newsletter

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