Error handling

From Goldziher/ai-rulez · View interactive version

Error handling is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Error handling by language: wrap with context, never swallow, Result in Rust, %w wrapping in Go, typed exceptions in Python and Java, fail fast. Use when writing or reviewing an error path or custom error type.

How to use this skill

Skill file

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.