Error

From bytesagain/ai-skills · View interactive version

Error is an AI agent skill from the GitHub repository bytesagain/ai-skills. Error handling reference — error types, exception patterns, HTTP status codes, retry strategies, and observability. Use when designing error handling, debugging failures, or implementing resilient systems.

How to use this skill

Skill file

Error — Error Handling & Resilience Reference

Quick-reference skill for error handling patterns, HTTP status codes, retry strategies, and debugging techniques.

When to Use

Commands

`intro`

scripts/script.sh intro

Overview of error handling — philosophy, types, and design principles.

`http`

scripts/script.sh http

HTTP status codes — complete reference with proper usage.

`patterns`

scripts/script.sh patterns

Error handling patterns — try/catch, Result types, error boundaries.

`retry`

scripts/script.sh retry

Retry strategies — exponential backoff, jitter, circuit breakers.

`logging`

scripts/script.sh logging

Error logging best practices — structured logging, context, severity levels.

`messages`

scripts/script.sh messages

Error message design — user-facing vs developer-facing, i18n, codes.

`debug`

scripts/script.sh debug

Debugging techniques — root cause analysis, bisection, tracing.

`checklist`

scripts/script.sh checklist

Error handling checklist for production applications.

`help`

scripts/script.sh help

`version`

scripts/script.sh version

Configuration

| Variable | Description |

|----------|-------------|

| ERROR_DIR | Data directory (default: ~/.error/) |


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.