Errors happen in all programs. Some failures are expected, like a missing file. Other failures are bugs, like a broken rule. This skill helps you decide how to handle each kind. You will learn when to use Result, Option, or panic. You will see how to add context with anyhow or design typed errors with thiserror. The goal is clear and safe code that tells you what went wrong.
This skill is for programmers who write Rust. It helps you avoid common mistakes like calling unwrap without thinking. You will learn to ask the right question: is this failure expected or a bug? The answer guides your choice. With practice, error handling becomes simple and predictable.
Global
mkdir -p ~/.claude/skills/m06-error-handlingProject
mkdir -p .claude/skills/m06-error-handlingSource Repository
Typescript Advanced Typeswshobson/agents
Master advanced TypeScript types for safer and more flexible code
Python Executorqu-skills/skills
Execute Python code safely with 100+ libraries for data, scraping, and media
Golang Error Handlingsamber/cc-skills-golang
Learn to create, wrap, inspect, and log Go errors like a professional engineer
Golang Performancesamber/cc-skills-golang
Speed up your Go code using proven patterns for allocation reduction and CPU efficiency
Golang Design Patternssamber/cc-skills-golang
Idiomatic Go patterns for clean constructors error handling and graceful shutdown
Golang Concurrencysamber/cc-skills-golang
Write safe Go concurrency with goroutines, channels, and sync primitives
Golang Contextsamber/cc-skills-golang
Master Go context for cancellations, timeouts, and request values
Golang Data Structuressamber/cc-skills-golang
Optimize Go data structures for speed and memory efficiency with internals knowledge