Skip to content
H

handling-failures

Writing or touching any error path, catch block, fallback, default value, retry

by riekeltFree

5
#4454in AI Skills
0In stores

Description

handling-failures is an agent skill from the riekelt/principal-engineer collection, listed on skills.sh. It is used when writing or touching…

Highlights

  • Every failure is logged and then loud
  • Typed failures the caller must handle
  • Documented degraded modes with observable signals
  • Bans swallowed errors and silent defaults

Ratings & Reviews

No ratings yet

Be the first to rate handling-failures.

People also visit

E

error-handling

Patterns for robust error handling across TypeScript, Python, and Go

AI Skills
Get
P

python-error-handling

Python error handling patterns including input validation

AI Skills
Get
M

m06-error-handling

CRITICAL: Use for error handling

AI Skills
Get
N

n8n-error-handling

Wire n8n error handling so failures are loud, structured, and recoverable

AI Skills
Get
M

m13-domain-error

Designing domain error handling

AI Skills
Get
E

error-handling-patterns

Robust error handling with exceptions, Result types and graceful degradation

AI Skills
Get

handling-failures FAQ

What does the handling-failures skill do?

It guides an AI agent in writing error paths that never swallow failures, so problems stay visible.

How do I install it?

Run: npx skills add https://github.com/riekelt/principal-engineer --skill handling-failures

What are the allowed responses to a failure?

Log and rethrow, log and return a typed failure, or log and enter a documented degraded mode.

Why not just let the system keep running?

The skill says a system that looks healthy while serving wrong data is worse than one that crashes.

Does it need another skill?

Yes. It lists the principal-engineering skill as required background.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best handling-failures alternatives?

Popular alternatives to handling-failures include error-handling, python-error-handling and m06-error-handling. See all handling-failures alternatives

Developer Stuff

Badges