error-handling-patterns SKILL.md skillA

error-handling-patterns from higoralves/orc is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add higoralves/orc/error-handling-patterns@git:20261020.7a1f356

Pins git:20261020.7a1f356 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
higoralves/orc
Path
orc/skills/error-handling-patterns/SKILL.md
Versions recorded
3
Latest version
git:20261020.7a1f356, committed Oct 20, 2026
First version recorded
May 4, 2026
Size
3,884 bytes
Repository stars
7
License
MIT

Error handling patterns across languages — exceptions, Result types, propagation, graceful degradation.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Error Handling Patterns

Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.

This SKILL.md is a thin index. **Read the relevant `references/<topic>.md` file** only when you need that topic's detail — the code samples and full patterns live there, not here.

## When to Use This Skill

- Implementing error handling in new features
- Designing error-resilient APIs
- Debugging production issues
- Improving application reliability
- Creating better error messages for users and developers
- Implementing retry and circuit breaker patterns
- Handling async/concurrent errors
- Building fault-tolerant distributed systems

## Core Concepts

**Error handling philosophies:**

- **Exceptions** — traditional try-catch, disrupts control flow.
- **Result types** — explicit success/failure, functional approach.
- **Error codes** — C-style, requires discipline.
- **Option/Maybe types** — for nullable values.

**Error categories:**

- **Recoverable** — network timeouts, missing files, invalid user input, API rate limits. Handle and continue (retry, fallback).
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add higoralves/orc/error-handling-patterns@sha256:2834de3e589c1900

The line at the top of this page pins the label git:20261020.7a1f356, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_sivov55dwgeuildn.svg)](https://markdownregistry.com/a/art_sivov55dwgeuildn)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 4, 2026 and Oct 20, 2026, about one every 85 days.

versioncommittedcommitsizeaudit
git:20261020.7a1f356 latest2026-10-20 7a1f356 3,884 BA view · diff
git:20260624.531616f2026-06-24 531616f 3,872 BA view · diff
git:20260504.d9ce9522026-05-04 d9ce952 16,361 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3884 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

higoralves/orc · 7 stars · license MIT · pushed 2026-10-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_sivov55dwgeuildn
GET https://markdownregistry.com/api/v1/resolve?ref=higoralves/orc/error-handling-patterns
GET https://markdownregistry.com/api/v1/blob/2834de3e589c1900414661c5975712eaf7da746f4052a364d4404e08320c2c65

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from higoralves/orc

CLAUDE.md CLAUDE.md file
higoralves/orc · CLAUDE.md
git:20261020.ba1d30b · audit A · 7 stars
adr-writing SKILL.md skill
higoralves/orc · orc/skills/adr-writing/SKILL.md · Author and update Architecture Decision Records (ADRs) — the durable record of a decision and its trade-offs, in…
git:20261020.7a1f356 · audit A · 7 stars
agent-browser SKILL.md skill
higoralves/orc · orc/skills/agent-browser/SKILL.md · Browser automation CLI for AI agents; use for web tasks - navigate, click, fill forms, screenshot, scrape, test…
git:20261020.7a1f356 · audit A · 7 stars
architecture-patterns SKILL.md skill
higoralves/orc · orc/skills/architecture-patterns/SKILL.md · Implement Clean, Hexagonal (Ports & Adapters), and Domain-Driven architecture patterns
git:20261020.7a1f356 · audit A · 7 stars
browser-qa SKILL.md skill
higoralves/orc · orc/skills/browser-qa/SKILL.md · The canonical browser-QA protocol for web changes — target resolution, env attach, the driver gate (Playwright primary…
git:20261020.7a1f356 · audit A · 7 stars
callouts SKILL.md skill
higoralves/orc · orc/skills/callouts/SKILL.md · The orc callout palette — emoji-header blockquotes in conversation, GitHub-flavored [!TYPE] form for GitHub-bound output
git:20261020.7a1f356 · audit A · 7 stars
caveman-pr SKILL.md skill
higoralves/orc · orc/skills/caveman-pr/SKILL.md · Ultra-compressed, signal-only pull request descriptions
git:20261020.7a1f356 · audit A · 7 stars
caveman-review SKILL.md skill
higoralves/orc · orc/skills/caveman-review/SKILL.md · Ultra-compressed code review comments — one line per finding: location, problem, fix
git:20261020.7a1f356 · audit A · 7 stars
ci-routing SKILL.md skill
higoralves/orc · orc/skills/ci-routing/SKILL.md · The canonical route-on-verdict protocol for a red CI diagnosis — fixable/flake/infra/needs-debug handling, the…
git:20261020.7a1f356 · audit A · 7 stars
cleanup SKILL.md skill
higoralves/orc · orc/skills/cleanup/SKILL.md · Clean up after completed or abandoned orc sessions — removes workspace state, registry entry, git worktree, and…
git:20261020.7a1f356 · audit A · 7 stars
code-discovery SKILL.md skill
higoralves/orc · orc/skills/code-discovery/SKILL.md · Use when discovering or navigating a codebase before planning, implementing, debugging, or refactoring — prefer a…
git:20260820.6962ca7 · audit A · 7 stars
code-review SKILL.md skill
higoralves/orc · orc/skills/code-review/SKILL.md · Review someone else's open GitHub PR — posts a real review with line-anchored inline comments; verdict computed…
git:20261020.7a1f356 · audit A · 7 stars

Every file in higoralves/orc

Other files named error-handling-patterns

error-handling-patterns SKILL.md skill
wshobson/agents · plugins/developer-essentials/skills/error-handling-patterns/SKILL.md · Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful…
git:20260522.be57c0b · audit A · 41,615 stars
error-handling-patterns SKILL.md skill
dicklesworthstone/pi_agent_rust · tests/ext_conformance/artifacts/agents-wshobson/developer-essentials/skills/error-handling-patterns/SKILL.md · Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful…
git:20260205.788be98 · audit A · 1,915 stars
error-handling-patterns SKILL.md skill
hermeticormus/libreuiux-claude-code · plugins/developer-essentials/skills/error-handling-patterns/SKILL.md · Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful…
git:20251120.288a379 · audit A · 121 stars
error-handling-patterns SKILL.md skill
hermeticormus/claude-code-game-development · plugins/developer-essentials/skills/error-handling-patterns/SKILL.md · Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful…
git:20251120.50bf83d · audit A · 72 stars
error-handling-patterns SKILL.md skill
rudycity/superagent · .agents/skills/error-handling-patterns/SKILL.md · Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful…
git:20260626.019dba9 · audit A · 57 stars
error-handling-patterns SKILL.md skill
event4u-app/agent-config · src/skills/error-handling-patterns/SKILL.md · Use when picking a failure-reporting strategy — exceptions vs Result types, recoverable vs not, retry / circuit-breaker…
git:20260911.17eca4f · audit A · 13 stars
error-handling-patterns SKILL.md skill
khaledsaeed18/dotclaude · .claude-plugin/plugins/engineering/skills/error-handling-patterns/SKILL.md · Design and review error handling in a codebase: which errors are expected results versus bugs, typed error hierarchies…
git:20260921.8d3f9eb · audit A · 5 stars
error-handling-patterns SKILL.md skill
khaledsaeed18/dotclaude · skills/engineering/error-handling-patterns/SKILL.md · Design and review error handling in a codebase: which errors are expected results versus bugs, typed error hierarchies…
git:20260921.8d3f9eb · audit A · 5 stars

Browse by kind, by grade A, or by owner.